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.001085/0.001085, allocations: 81.97 kB / 21.47 MB, free: 3.035 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.001206/0.001206, allocations: 163.8 kB / 24.86 MB, free: 9.293 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.058/1.058, allocations: 177.2 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.899/1.899, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] 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.915e-06/2.915e-06, allocations: 0 / 0.8129 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.147e-05, allocations: 8.156 kB / 0.8129 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001948/0.00198, allocations: 0.6738 MB / 0.8135 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002992, allocations: 0.8394 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.003024, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.003048, allocations: 0 / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.003107, allocations: 1.344 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.003248, allocations: 15.92 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.003304, allocations: 23.92 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.003385, allocations: 9.578 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.00345, allocations: 15.92 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.003482, allocations: 11.98 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.003493, allocations: 0 / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.821e-05/0.003531, allocations: 4.531 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.003546, allocations: 8.719 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.318e-05/0.003559, allocations: 0 / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.352e-05/0.003643, allocations: 36.36 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003646, allocations: 0 / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003647, allocations: 1.344 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.00365, allocations: 0 / 0.8145 GB, free: 15.74 MB / 0.7761 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.0002932/0.003943, allocations: 352.7 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.003974, allocations: 8.562 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.004054, allocations: 8.875 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.614e-05/0.00413, allocations: 113.9 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.00414, allocations: 4.375 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.004145, allocations: 384 / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.004231, allocations: 56.09 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004238, allocations: 4.188 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.004244, allocations: 384 / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004249, allocations: 1.688 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.004266, allocations: 7.938 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.004475, allocations: 228.4 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.248e-05/0.004517, allocations: 36.31 kB / 0.8152 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.00453, allocations: 11.69 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.004542, allocations: 4.062 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.004561, allocations: 34.05 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004562, allocations: 0 / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001174/0.00468, allocations: 46.78 kB / 0.8153 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.004707, allocations: 51.41 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.004769, allocations: 163.2 kB / 0.8155 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.004778, allocations: 25.7 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.004818, allocations: 134.9 kB / 0.8157 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.004835, allocations: 3.953 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.004861, allocations: 25.14 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.004968, allocations: 496.1 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.004976, allocations: 0 / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.004984, allocations: 4 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.005006, allocations: 14.25 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005008, allocations: 0 / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.886e-05/0.005056, allocations: 45.62 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.005066, allocations: 4 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.00507, allocations: 0 / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.00508, allocations: 3.938 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.00513, allocations: 4.688 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005132, allocations: 4.531 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.005148, allocations: 1.938 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.005151, allocations: 0 / 0.8163 GB, free: 13.69 MB / 0.7761 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 5.692e-05/0.005208, allocations: 164.5 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.005223, allocations: 3.984 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.005283, allocations: 46.88 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.005286, allocations: 3.938 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.005288, allocations: 0 / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.005291, allocations: 3.938 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.061e-05/0.005371, allocations: 97.22 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.005372, allocations: 0.7188 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.005392, allocations: 7.984 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005394, allocations: 4.906 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.005397, allocations: 0 / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005398, allocations: 0.7812 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005399, allocations: 0 / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.839e-05/0.005477, allocations: 189.2 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.005482, allocations: 4 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-06/0.005489, allocations: 0 / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.005523, allocations: 4.844 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.005545, allocations: 4 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.00555, allocations: 10.98 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.005583, allocations: 123.2 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005583, allocations: 0 / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001329/0.005716, allocations: 11.88 kB / 0.8169 GB, free: 12.97 MB / 0.7761 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 8.655e-05/0.005802, allocations: 95.25 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.993e-05/0.005862, allocations: 19.62 kB / 0.817 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.41e-07/0.005863, allocations: 2.469 kB / 0.817 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.811e-05/0.005881, allocations: 19.66 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.006056, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.00637, allocations: 122.2 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.067e-05/0.006401, allocations: 63.28 kB / 0.8172 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.309e-05/0.006414, allocations: 1.125 kB / 0.8172 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.006455, allocations: 70.2 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.006456, allocations: 0 / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.001815/0.008271, allocations: 0.5251 MB / 0.8178 GB, free: 12.02 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.234001977369189]