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.0009819/0.0009819, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000971/0.000971, allocations: 161.4 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.973/0.973, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.918/1.918, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.887e-06/3.887e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.851e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002124/0.002162, allocations: 0.679 MB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003442, allocations: 0.8625 MB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.003484, allocations: 3.938 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.003518, allocations: 1.594 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.003597, allocations: 4 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.003829, allocations: 11.92 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.33e-05/0.003912, allocations: 31.91 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.004022, allocations: 0.6562 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.552e-05/0.004107, allocations: 15.92 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.004151, allocations: 12.8 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.004169, allocations: 4 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.004223, allocations: 8.469 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.004241, allocations: 5.375 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.004265, allocations: 4 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.004395, allocations: 23.91 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.208e-05/0.004417, allocations: 64 / 0.8132 GB, free: 16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.226e-06/0.00442, allocations: 5.141 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.004425, allocations: 0 / 0.8132 GB, free: 15.99 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.0004306/0.004856, allocations: 360.5 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.004905, allocations: 13.25 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.005034, allocations: 0.9375 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.00514, allocations: 112.6 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.005153, allocations: 1.562 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.005167, allocations: 4.375 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.005325, allocations: 58.92 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.005338, allocations: 4.938 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.005349, allocations: 384 / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.005358, allocations: 1.719 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.005394, allocations: 7.938 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.005751, allocations: 239.8 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/0.005821, allocations: 39.56 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.005846, allocations: 9.625 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.005869, allocations: 0 / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.005903, allocations: 41.45 kB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.005904, allocations: 0 / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001821/0.006086, allocations: 55.3 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.006119, allocations: 51.41 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.00621, allocations: 153.9 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.006227, allocations: 29.7 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.006288, allocations: 130.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.006308, allocations: 4.766 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.006346, allocations: 23.36 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.006505, allocations: 496.7 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.006526, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.006541, allocations: 4.719 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.00659, allocations: 16.16 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006592, allocations: 1.312 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.234e-05/0.006674, allocations: 45.62 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.00669, allocations: 4 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.006698, allocations: 8.812 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.006718, allocations: 0 / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.00681, allocations: 4.812 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.006816, allocations: 0 / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.006844, allocations: 13.2 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.006849, allocations: 0 / 0.8151 GB, free: 13.9 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 8.019e-05/0.006929, allocations: 152.6 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.006955, allocations: 4.844 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.007069, allocations: 46.16 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.007073, allocations: 4 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.007077, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.007081, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.007217, allocations: 125.8 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.007219, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.007259, allocations: 4 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.007262, allocations: 1.688 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.007269, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.007272, allocations: 3.938 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007273, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.007403, allocations: 190.6 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.00741, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.007422, allocations: 4 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.007481, allocations: 3.938 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.007525, allocations: 3.984 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.007528, allocations: 4 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.007574, allocations: 127.4 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.007575, allocations: 4.5 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002375/0.007812, allocations: 0 / 0.8157 GB, free: 13.18 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 0.0001188/0.007931, allocations: 104.2 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.008032, allocations: 12.75 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008034, allocations: 4 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.008055, allocations: 8.188 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.008349, allocations: 13.28 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.008925, allocations: 127.2 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.529e-05/0.00897, allocations: 56.7 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.008991, allocations: 4 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.009026, allocations: 12.5 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/0.009027, allocations: 0.9062 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.002757/0.01178, allocations: 483 kB / 0.8165 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.27783961314708]