Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001342/0.001342, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001012/0.001012, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9507/0.9507, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.936/1.936, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/3.016e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001417/0.001448, allocations: 0.6754 MB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.002326, allocations: 0.8677 MB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.002356, allocations: 0 / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.002386, allocations: 4.969 kB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.002455, allocations: 7.922 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.002652, allocations: 8 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.002722, allocations: 28.7 kB / 0.8132 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.00281, allocations: 3.984 kB / 0.8132 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.00288, allocations: 13.67 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.002924, allocations: 11.98 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.002941, allocations: 7.938 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.712e-05/0.002988, allocations: 11.88 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.003002, allocations: 1.531 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.003021, allocations: 4 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003125, allocations: 23.95 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003128, allocations: 0 / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003129, allocations: 1.75 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003133, allocations: 0 / 0.8132 GB, free: 20 kB / 0.7605 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.0003617/0.003495, allocations: 360.6 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.003537, allocations: 8.031 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.00365, allocations: 6.125 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.00374, allocations: 124.5 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.003751, allocations: 384 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.003759, allocations: 384 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.003888, allocations: 52.55 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.003895, allocations: 192 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.003905, allocations: 384 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.003913, allocations: 8.312 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.003942, allocations: 10.53 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.004241, allocations: 243.8 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.004298, allocations: 27.06 kB / 0.814 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.004319, allocations: 15.75 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.004337, allocations: 0 / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.00436, allocations: 41.33 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.00436, allocations: 0.7188 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.00451, allocations: 46.11 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.004541, allocations: 57.06 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.004611, allocations: 153.9 kB / 0.8143 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.00462, allocations: 25.7 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.004671, allocations: 138.9 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.004688, allocations: 3.953 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.004713, allocations: 15.97 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.004834, allocations: 496.6 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.004851, allocations: 4 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.004862, allocations: 4.875 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.004895, allocations: 20.77 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.004897, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.738e-05/0.004954, allocations: 39.08 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.004968, allocations: 4 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.004973, allocations: 3.938 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.004986, allocations: 0 / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.005067, allocations: 13.05 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.005074, allocations: 0 / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.005092, allocations: 3.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.005098, allocations: 4.875 kB / 0.8151 GB, free: 13.93 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 6.549e-05/0.005164, allocations: 153.4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.005176, allocations: 3.938 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.87e-05/0.005265, allocations: 55 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.005267, allocations: 0 / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.005271, allocations: 0 / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005273, allocations: 0 / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.013e-05/0.005363, allocations: 124.6 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005364, allocations: 4 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.005389, allocations: 4.5 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.005391, allocations: 2.594 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.005398, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.0054, allocations: 3.938 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.005402, allocations: 3.984 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.069e-05/0.005493, allocations: 188.1 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-06/0.005498, allocations: 0 / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.005509, allocations: 5.672 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.005543, allocations: 11.92 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.005577, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.00558, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.005617, allocations: 123.2 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005617, allocations: 0.5 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001378/0.005754, allocations: 4.562 kB / 0.8157 GB, free: 13.2 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 9.466e-05/0.005849, allocations: 104.9 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.01e-05/0.005929, allocations: 11.69 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.005931, allocations: 0 / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.00595, allocations: 16.44 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.00614, allocations: 12.58 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.006593, allocations: 128.7 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.006632, allocations: 51.36 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.006648, allocations: 0 / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.006678, allocations: 12.5 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.006679, allocations: 0 / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of Templates: time 0.002218/0.008896, allocations: 0.5038 MB / 0.8166 GB, free: 12.33 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.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.049699819181114]