Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008738, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009619/0.000962, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 12 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.6424, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0007747/0.6432, allocations: 428.1 kB / 0.9539 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.6439, allocations: 0.7922 MB / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.644, allocations: 0.7188 kB / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.644, allocations: 0 / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.6441, allocations: 18.81 kB / 0.9547 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.954e-05/0.6441, allocations: 4 kB / 0.9547 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.6442, allocations: 27.56 kB / 0.9548 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.6443, allocations: 12.27 kB / 0.9548 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.945e-05/0.6444, allocations: 17.36 kB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.6444, allocations: 16.89 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.6444, allocations: 2.781 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.6444, allocations: 1.438 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.6445, allocations: 5.469 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.6445, allocations: 26.86 kB / 0.9548 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.328e-05/0.6446, allocations: 39.09 kB / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.6446, allocations: 0 / 0.9549 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6446, allocations: 4 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.6446, allocations: 0 / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004071/0.645, allocations: 363.9 kB / 0.9552 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.645, allocations: 9.906 kB / 0.9552 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.6451, allocations: 9.922 kB / 0.9552 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.6452, allocations: 169.5 kB / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.6452, allocations: 1.188 kB / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.6452, allocations: 1.188 kB / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.6454, allocations: 84.52 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6454, allocations: 0 / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.6455, allocations: 9.422 kB / 0.9555 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6455, allocations: 3.938 kB / 0.9555 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.6458, allocations: 90.38 kB / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.6461, allocations: 267.1 kB / 0.9558 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.6463, allocations: 62.86 kB / 0.9559 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.6463, allocations: 0 / 0.9559 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.6463, allocations: 35.84 kB / 0.9559 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.6463, allocations: 0 / 0.9559 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005629/0.6469, allocations: 174.9 kB / 0.9561 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.6469, allocations: 52.66 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.647, allocations: 111.7 kB / 0.9563 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.647, allocations: 25.7 kB / 0.9563 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.647, allocations: 85.64 kB / 0.9564 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.6471, allocations: 12.91 kB / 0.9564 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.6471, allocations: 0 / 0.9564 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.6471, allocations: 325.2 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.6473, allocations: 37.81 kB / 0.9567 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.6474, allocations: 47.55 kB / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.6476, allocations: 38.34 kB / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6476, allocations: 1.031 kB / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003173/0.6479, allocations: 120.3 kB / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6479, allocations: 8.625 kB / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6479, allocations: 5.312 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6479, allocations: 0 / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.6481, allocations: 26.64 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6481, allocations: 1 kB / 0.957 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.6482, allocations: 15.73 kB / 0.957 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.6482, allocations: 5.188 kB / 0.957 GB, free: 5.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.6482, allocations: 111.8 kB / 0.9571 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.6483, allocations: 6.156 kB / 0.9571 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.6483, allocations: 4.906 kB / 0.9571 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6483, allocations: 3.984 kB / 0.9571 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6483, allocations: 5.078 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6483, allocations: 0 / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.6484, allocations: 165.4 kB / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6485, allocations: 0 / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.948e-05/0.6486, allocations: 23.45 kB / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6486, allocations: 5.344 kB / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.6486, allocations: 0 / 0.9573 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6486, allocations: 3.984 kB / 0.9573 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6486, allocations: 1.125 kB / 0.9573 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.6489, allocations: 219.3 kB / 0.9575 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.649, allocations: 81.98 kB / 0.9576 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.649, allocations: 5.375 kB / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6491, allocations: 15.39 kB / 0.9576 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.6491, allocations: 14.23 kB / 0.9576 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.6491, allocations: 1.031 kB / 0.9576 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.6492, allocations: 85.23 kB / 0.9577 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6492, allocations: 0 / 0.9577 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002206/0.6494, allocations: 14.2 kB / 0.9577 GB, free: 4.305 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001099/0.6495, allocations: 101.7 kB / 0.9578 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.6499, allocations: 89.73 kB / 0.9579 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6499, allocations: 0 / 0.9579 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.65, allocations: 45.59 kB / 0.9579 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.6503, allocations: 12.08 kB / 0.958 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.6505, allocations: 129.8 kB / 0.9581 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.955e-05/0.6507, allocations: 0.6819 MB / 0.9587 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.6507, allocations: 9.016 kB / 0.9588 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.6507, allocations: 12.75 kB / 0.9588 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.6507, allocations: 0 / 0.9588 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of Templates: time 0.002267/0.653, allocations: 0.5191 MB / 0.9593 GB, free: 3.039 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches