Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.966/2.966, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.8109 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.672e-05, allocations: 2.312 kB / 0.8109 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002269/0.002306, allocations: 0.6624 MB / 0.8115 GB, free: 276 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003674, allocations: 0.8049 MB / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.003709, allocations: 0 / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.003739, allocations: 3.984 kB / 0.8123 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.003816, allocations: 10.88 kB / 0.8123 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.004052, allocations: 12.78 kB / 0.8123 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.00413, allocations: 25.34 kB / 0.8124 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.00422, allocations: 4 kB / 0.8124 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004323, allocations: 21.11 kB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.004369, allocations: 7.984 kB / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.004388, allocations: 0 / 0.8124 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.004444, allocations: 13.39 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.004463, allocations: 4 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.004489, allocations: 0 / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004626, allocations: 31.89 kB / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.00463, allocations: 0.75 kB / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.02e-07/0.00463, allocations: 0 / 0.8124 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.004636, allocations: 0.9062 kB / 0.8124 GB, free: 15.33 MB / 0.7292 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.000559/0.005195, allocations: 270.9 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.005241, allocations: 8.031 kB / 0.8127 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.005362, allocations: 9.391 kB / 0.8127 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.005491, allocations: 106.3 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.005508, allocations: 8.359 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.005525, allocations: 9.609 kB / 0.8128 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.005717, allocations: 46.25 kB / 0.8129 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.005726, allocations: 2.5 kB / 0.8129 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005735, allocations: 384 / 0.8129 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.005744, allocations: 4.359 kB / 0.8129 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.005956, allocations: 35.91 kB / 0.8129 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.006332, allocations: 188.5 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.006487, allocations: 40.78 kB / 0.8131 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.006585, allocations: 24.91 kB / 0.8132 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.00661, allocations: 0 / 0.8132 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.006655, allocations: 31.75 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.006656, allocations: 0 / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0004367/0.007092, allocations: 94.53 kB / 0.8133 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.007159, allocations: 51.94 kB / 0.8133 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.007277, allocations: 102.7 kB / 0.8134 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.007305, allocations: 29.7 kB / 0.8135 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.007376, allocations: 84.89 kB / 0.8135 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.007401, allocations: 7.938 kB / 0.8135 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.007445, allocations: 13.72 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.00763, allocations: 319.4 kB / 0.8139 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.007716, allocations: 13.36 kB / 0.8139 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.007819, allocations: 19.98 kB / 0.8139 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.007987, allocations: 38.67 kB / 0.8139 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.007989, allocations: 3.938 kB / 0.8139 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000217/0.008206, allocations: 66.91 kB / 0.814 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.008224, allocations: 9.344 kB / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.008231, allocations: 3.938 kB / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.008252, allocations: 0 / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.008348, allocations: 8.766 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.008355, allocations: 4 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.008409, allocations: 9.641 kB / 0.814 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.008415, allocations: 0 / 0.814 GB, free: 13.54 MB / 0.7292 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 9.25e-05/0.008507, allocations: 109.8 kB / 0.8141 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.008537, allocations: 4 kB / 0.8141 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.008809, allocations: 81.19 kB / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008812, allocations: 0 / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.008816, allocations: 0 / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.00882, allocations: 0 / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.00897, allocations: 105.3 kB / 0.8143 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008971, allocations: 0 / 0.8143 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.009035, allocations: 7.984 kB / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009038, allocations: 0 / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.009045, allocations: 0 / 0.8143 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.009052, allocations: 8.438 kB / 0.8143 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.009053, allocations: 0 / 0.8143 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.009339, allocations: 165.4 kB / 0.8145 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.009346, allocations: 0 / 0.8145 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.009362, allocations: 7.938 kB / 0.8145 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.009448, allocations: 13.17 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.009494, allocations: 4.188 kB / 0.8145 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.009497, allocations: 0 / 0.8145 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.454e-05/0.009562, allocations: 88.61 kB / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009562, allocations: 0 / 0.8146 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002494/0.009811, allocations: 4 kB / 0.8146 GB, free: 12.9 MB / 0.7292 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.0001384/0.00995, allocations: 96.14 kB / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.01017, allocations: 38.09 kB / 0.8147 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01017, allocations: 0 / 0.8147 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.01026, allocations: 20.53 kB / 0.8148 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.01056, allocations: 10.14 kB / 0.8148 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.01089, allocations: 120.5 kB / 0.8149 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.286e-05/0.01096, allocations: 63.34 kB / 0.8149 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.01099, allocations: 3.906 kB / 0.8149 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.01101, allocations: 11.69 kB / 0.815 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of SimCode: time 4.1e-07/0.01101, allocations: 0 / 0.815 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.002931/0.01395, allocations: 484.5 kB / 0.8154 GB, free: 12.04 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.079112840932794]