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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001211/0.001211, allocations: 190.7 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.581/2.581, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9624/0.9638, allocations: 140.4 MB / 0.9489 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.002214/0.966, allocations: 0.7291 MB / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.9671, allocations: 0.7919 MB / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.9671, allocations: 0 / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.9672, allocations: 0 / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.9673, allocations: 5.094 kB / 0.9504 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.9674, allocations: 13.27 kB / 0.9504 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.9675, allocations: 17.39 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.9676, allocations: 3.938 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.9677, allocations: 10.5 kB / 0.9505 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.9678, allocations: 14.48 kB / 0.9505 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.9678, allocations: 2.5 kB / 0.9505 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.9678, allocations: 1.25 kB / 0.9505 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.9678, allocations: 3.984 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.9679, allocations: 14.39 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.255e-05/0.968, allocations: 19.88 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.968, allocations: 4 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/0.968, allocations: 0 / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.968, allocations: 1.031 kB / 0.9505 GB, free: 7.941 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.0004569/0.9685, allocations: 334.5 kB / 0.9508 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9685, allocations: 9 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.9686, allocations: 2.094 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.285e-05/0.9687, allocations: 169.7 kB / 0.951 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.9687, allocations: 5.688 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.9687, allocations: 5.719 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.9689, allocations: 49.7 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.9689, allocations: 192 / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.9689, allocations: 3.938 kB / 0.9511 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.9689, allocations: 1.625 kB / 0.9511 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.9691, allocations: 37.95 kB / 0.9511 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.9695, allocations: 244.7 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.9696, allocations: 42.64 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/0.9697, allocations: 19.59 kB / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.9697, allocations: 0 / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.9698, allocations: 39.81 kB / 0.9515 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.9698, allocations: 4 kB / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003639/0.9701, allocations: 76.45 kB / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.9702, allocations: 52.59 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.9703, allocations: 98.02 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.9703, allocations: 30.84 kB / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.9703, allocations: 81.17 kB / 0.9518 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.9703, allocations: 17 kB / 0.9518 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.9704, allocations: 12.22 kB / 0.9518 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.9704, allocations: 310.8 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.9705, allocations: 21.94 kB / 0.9521 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.9706, allocations: 13.55 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.9708, allocations: 47.11 kB / 0.9522 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9708, allocations: 0 / 0.9522 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.971, allocations: 72.22 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.971, allocations: 8.25 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.971, allocations: 0 / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.971, allocations: 0 / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.9711, allocations: 10.89 kB / 0.9523 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.9712, allocations: 8.016 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.9712, allocations: 3.781 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.9712, allocations: 0 / 0.9523 GB, free: 6.129 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.9713, allocations: 115.4 kB / 0.9524 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.9713, allocations: 5.406 kB / 0.9524 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.9715, allocations: 74.41 kB / 0.9525 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.9716, allocations: 5.562 kB / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.9716, allocations: 0 / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9716, allocations: 3.984 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.9717, allocations: 157.9 kB / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9717, allocations: 9.359 kB / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.9718, allocations: 5.906 kB / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.9718, allocations: 3.938 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.9718, allocations: 0 / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.9718, allocations: 1.188 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9718, allocations: 0 / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.972, allocations: 171.8 kB / 0.9528 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.9721, allocations: 81.09 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.9721, allocations: 1.094 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.9722, allocations: 3.875 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.9722, allocations: 5.359 kB / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.9722, allocations: 32 / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.765e-05/0.9723, allocations: 87.78 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9723, allocations: 0 / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002105/0.9725, allocations: 2.469 kB / 0.953 GB, free: 5.383 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.9726, allocations: 98.81 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.9728, allocations: 37.08 kB / 0.9531 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9728, allocations: 4.062 kB / 0.9531 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.9729, allocations: 23.89 kB / 0.9531 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.9733, allocations: 11.19 kB / 0.9531 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.9736, allocations: 106.1 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.9737, allocations: 0.6765 MB / 0.9539 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.9737, allocations: 5.312 kB / 0.9539 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.9738, allocations: 8.625 kB / 0.9539 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.9738, allocations: 0 / 0.9539 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of Templates: time 0.00267/0.9765, allocations: 364 kB / 0.9543 GB, free: 4.246 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