Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.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.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008529/0.0008529, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008839/0.0008839, allocations: 172.7 kB / 15.95 MB, free: 208 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.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.316 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.559/2.559, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 16 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8469/0.8473, allocations: 142.4 MB / 0.9545 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.0008888/0.8483, allocations: 386.7 kB / 0.9548 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.849, allocations: 0.7828 MB / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.8491, allocations: 0 / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.8491, allocations: 0 / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.8492, allocations: 1.344 kB / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.8493, allocations: 17.47 kB / 0.9556 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.8494, allocations: 19.91 kB / 0.9556 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.8495, allocations: 10.92 kB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.8496, allocations: 6.375 kB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.8497, allocations: 10.86 kB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.8497, allocations: 2.094 kB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.8497, allocations: 0 / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.8497, allocations: 9.344 kB / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.8498, allocations: 26.27 kB / 0.9557 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.797e-05/0.8498, allocations: 14.97 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8498, allocations: 1.438 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8498, allocations: 0 / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.8498, allocations: 0 / 0.9557 GB, free: 6.711 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003844/0.8502, allocations: 337.5 kB / 0.956 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.8503, allocations: 9.406 kB / 0.956 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.8503, allocations: 5.203 kB / 0.956 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.546e-05/0.8504, allocations: 164.5 kB / 0.9562 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.8504, allocations: 1.031 kB / 0.9562 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.8505, allocations: 1.156 kB / 0.9562 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.8507, allocations: 57.64 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.8507, allocations: 0 / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8507, allocations: 1.406 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.8507, allocations: 0 / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.8509, allocations: 56.45 kB / 0.9563 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.8512, allocations: 252.2 kB / 0.9566 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.8513, allocations: 40.06 kB / 0.9566 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.8514, allocations: 27.69 kB / 0.9566 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.8514, allocations: 0 / 0.9566 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.8514, allocations: 39.8 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.8514, allocations: 0 / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000342/0.8518, allocations: 107.1 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.8518, allocations: 52.41 kB / 0.9568 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.8519, allocations: 102.1 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.8519, allocations: 27.02 kB / 0.9569 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.8519, allocations: 84.27 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.852, allocations: 9.125 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.852, allocations: 0 / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.852, allocations: 315.9 kB / 0.9573 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.8521, allocations: 22.31 kB / 0.9573 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.8522, allocations: 25.86 kB / 0.9574 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.876e-05/0.8523, allocations: 23.14 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8523, allocations: 0 / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.8525, allocations: 82.25 kB / 0.9575 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8525, allocations: 5.594 kB / 0.9575 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8525, allocations: 0 / 0.9575 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8525, allocations: 1.344 kB / 0.9575 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.8526, allocations: 15.88 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.8526, allocations: 0 / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.8527, allocations: 6.344 kB / 0.9575 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.8527, allocations: 9.375 kB / 0.9575 GB, free: 4.918 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 (2): * Single equations (assignments): 2 * 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 5.597e-05/0.8528, allocations: 111.1 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.8528, allocations: 1.25 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.853, allocations: 88.03 kB / 0.9577 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.853, allocations: 1 kB / 0.9577 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.853, allocations: 3.953 kB / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.853, allocations: 0 / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.8532, allocations: 154.8 kB / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8532, allocations: 4 kB / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.8532, allocations: 12.36 kB / 0.9579 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8532, allocations: 5.344 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8533, allocations: 0 / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.8533, allocations: 4.031 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8533, allocations: 1.344 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.8535, allocations: 180.2 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.8535, allocations: 86.22 kB / 0.9581 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.8535, allocations: 0 / 0.9581 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.8536, allocations: 5.938 kB / 0.9581 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.8537, allocations: 5.203 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.8537, allocations: 1.031 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.8537, allocations: 78.97 kB / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8537, allocations: 0 / 0.9582 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002093/0.8539, allocations: 11.36 kB / 0.9582 GB, free: 4.176 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 (2): * Single equations (assignments): 2 * 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.0001349/0.8541, allocations: 105.4 kB / 0.9583 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.8543, allocations: 46.7 kB / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8543, allocations: 0 / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.8543, allocations: 28.17 kB / 0.9584 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.8546, allocations: 7.562 kB / 0.9584 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.8549, allocations: 107 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.855, allocations: 0.6767 MB / 0.9592 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.855, allocations: 5.844 kB / 0.9592 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.8551, allocations: 7.438 kB / 0.9592 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8551, allocations: 0 / 0.9592 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of Templates: time 0.002386/0.8575, allocations: 360.3 kB / 0.9595 GB, free: 3.035 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches