Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 99.78 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.001682/0.001682, 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.322/1.322, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.315/2.315, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6469, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0006487/0.6476, allocations: 340.1 kB / 0.9539 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.6482, allocations: 0.7978 MB / 0.9546 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.6483, allocations: 1.688 kB / 0.9546 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.6483, allocations: 0 / 0.9546 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.6483, allocations: 3.938 kB / 0.9546 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.953e-05/0.6485, allocations: 14.25 kB / 0.9547 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.6485, allocations: 11.86 kB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.6486, allocations: 1.312 kB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.6486, allocations: 8.844 kB / 0.9547 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.6487, allocations: 10.08 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.6487, allocations: 0.9062 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.6487, allocations: 1.312 kB / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.6487, allocations: 0 / 0.9547 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.6487, allocations: 26.77 kB / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.259e-05/0.6488, allocations: 23.81 kB / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.6488, allocations: 0 / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6488, allocations: 0 / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.6488, allocations: 0 / 0.9547 GB, free: 7.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002641/0.6491, allocations: 322.7 kB / 0.9551 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.6491, allocations: 9.969 kB / 0.9551 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.6492, allocations: 3.953 kB / 0.9551 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.6492, allocations: 164.4 kB / 0.9552 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.6493, allocations: 1.562 kB / 0.9552 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.6493, allocations: 7.938 kB / 0.9552 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.6494, allocations: 41.47 kB / 0.9553 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.6494, allocations: 0 / 0.9553 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.6494, allocations: 3.938 kB / 0.9553 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6494, allocations: 3.984 kB / 0.9553 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/0.6495, allocations: 24.62 kB / 0.9553 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.6496, allocations: 157 kB / 0.9555 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.6497, allocations: 25.98 kB / 0.9555 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.6497, allocations: 7.922 kB / 0.9555 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.6497, allocations: 30.56 kB / 0.9555 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.6497, allocations: 1.25 kB / 0.9555 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001879/0.6499, allocations: 58.22 kB / 0.9556 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.6499, allocations: 52.62 kB / 0.9556 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.088e-05/0.65, allocations: 103.1 kB / 0.9557 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.65, allocations: 25.7 kB / 0.9557 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.65, allocations: 81.33 kB / 0.9558 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.6501, allocations: 5.125 kB / 0.9558 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.6501, allocations: 0 / 0.9558 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.6501, allocations: 324.3 kB / 0.9561 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.6502, allocations: 9.609 kB / 0.9561 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.6502, allocations: 10.66 kB / 0.9562 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.6502, allocations: 10.67 kB / 0.9562 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6502, allocations: 0 / 0.9562 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.637e-05/0.6503, allocations: 54.22 kB / 0.9562 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.6504, allocations: 5.875 kB / 0.9562 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6504, allocations: 256 / 0.9562 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.6504, allocations: 0 / 0.9562 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.6505, allocations: 12.36 kB / 0.9562 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.6505, allocations: 0 / 0.9562 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.6505, allocations: 6.062 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.6505, allocations: 0.875 kB / 0.9562 GB, free: 5.457 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 (1): * Single equations (assignments): 1 * 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.107e-05/0.6506, allocations: 116.2 kB / 0.9564 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.6506, allocations: 1.156 kB / 0.9564 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525e-05/0.6506, allocations: 7.125 kB / 0.9564 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.6506, allocations: 1.219 kB / 0.9564 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6506, allocations: 0 / 0.9564 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6506, allocations: 5.172 kB / 0.9564 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.268e-05/0.6507, allocations: 151.9 kB / 0.9565 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.6507, allocations: 0 / 0.9565 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.6507, allocations: 8.656 kB / 0.9565 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6507, allocations: 7.938 kB / 0.9565 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.6507, allocations: 5.219 kB / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6508, allocations: 0 / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6508, allocations: 0 / 0.9565 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.6509, allocations: 82.41 kB / 0.9566 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.6509, allocations: 86.11 kB / 0.9567 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.6509, allocations: 0 / 0.9567 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.6509, allocations: 3.406 kB / 0.9567 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.651, allocations: 0 / 0.9567 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.651, allocations: 1.375 kB / 0.9567 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.166e-05/0.651, allocations: 83.17 kB / 0.9568 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.651, allocations: 0 / 0.9568 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000182/0.6512, allocations: 2.531 kB / 0.9568 GB, free: 4.852 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 (1): * Single equations (assignments): 1 * 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 9.47e-05/0.6513, allocations: 105.7 kB / 0.9569 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.6514, allocations: 21.61 kB / 0.9569 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6514, allocations: 0 / 0.9569 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.6515, allocations: 11.3 kB / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.384e-05/0.6516, allocations: 15.45 kB / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.6518, allocations: 110.5 kB / 0.957 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.6519, allocations: 0.6785 MB / 0.9577 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.6519, allocations: 0 / 0.9577 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.6519, allocations: 8.219 kB / 0.9577 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6519, allocations: 0 / 0.9577 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.001842/0.6538, allocations: 238.2 kB / 0.9579 GB, free: 3.777 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches