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.0007922/0.0007922, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001799, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007038/0.0007038, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008562/0.00156, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9479/0.9479, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.052, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.982/1.982, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5184/2.5, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.783e-06/1.783e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.583e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001418/0.001444, allocations: 0.7201 MB / 0.7301 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.002194, allocations: 0.8766 MB / 0.731 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.002221, allocations: 2.719 kB / 0.731 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.002242, allocations: 0 / 0.731 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.002277, allocations: 9.641 kB / 0.731 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.307e-05/0.00236, allocations: 11.88 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.002429, allocations: 25.12 kB / 0.731 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.773e-05/0.002507, allocations: 4 kB / 0.731 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.002585, allocations: 21.41 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.002627, allocations: 14.22 kB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.002642, allocations: 0 / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.108e-05/0.002703, allocations: 9.406 kB / 0.7311 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.002715, allocations: 5.641 kB / 0.7311 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.002731, allocations: 4.656 kB / 0.7311 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.721e-05/0.002818, allocations: 13.97 kB / 0.7311 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.002833, allocations: 4 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002834, allocations: 1.297 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.002847, allocations: 0.9375 kB / 0.7311 GB, free: 2.789 MB / 0.698 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.0003631/0.00321, allocations: 232.6 kB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.003244, allocations: 8.906 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.003398, allocations: 86.03 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.003482, allocations: 117.7 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.003492, allocations: 2.578 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.0035, allocations: 384 / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.003615, allocations: 54.94 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003622, allocations: 0.8438 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.003629, allocations: 384 / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003634, allocations: 1.062 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.003659, allocations: 7.938 kB / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.003872, allocations: 146.8 kB / 0.7317 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.00392, allocations: 22.52 kB / 0.7317 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.003935, allocations: 8.922 kB / 0.7317 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.003957, allocations: 0.9375 kB / 0.7317 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.003979, allocations: 30.56 kB / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.00398, allocations: 0 / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001181/0.004098, allocations: 43.47 kB / 0.7318 GB, free: 1.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.004131, allocations: 59.94 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/0.004187, allocations: 106.7 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004196, allocations: 25.7 kB / 0.732 GB, free: 1.711 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.004229, allocations: 84.91 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.004256, allocations: 7.891 kB / 0.7321 GB, free: 1.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.00428, allocations: 14.66 kB / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.004366, allocations: 315.8 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.004374, allocations: 4.875 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.004381, allocations: 0 / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.004403, allocations: 13.53 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.004406, allocations: 0.625 kB / 0.7324 GB, free: 1.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.725e-05/0.004453, allocations: 41.64 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.00447, allocations: 9.781 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.004478, allocations: 3.984 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.004488, allocations: 0 / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.004571, allocations: 12.91 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.004574, allocations: 0.6875 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.004589, allocations: 4 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.004592, allocations: 0.875 kB / 0.7325 GB, free: 1.188 MB / 0.698 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.561e-05/0.004648, allocations: 106.4 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.004663, allocations: 7.984 kB / 0.7326 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.082e-05/0.004733, allocations: 42.12 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.004736, allocations: 0 / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.00474, allocations: 4.656 kB / 0.7326 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.004743, allocations: 0.9531 kB / 0.7326 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.004834, allocations: 66.5 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004835, allocations: 0 / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.004862, allocations: 16.58 kB / 0.7327 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.004871, allocations: 7.938 kB / 0.7327 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.004872, allocations: 1.156 kB / 0.7327 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.004876, allocations: 4 kB / 0.7327 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.004877, allocations: 0.6562 kB / 0.7327 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.004879, allocations: 4.969 kB / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.479e-05/0.004954, allocations: 131.5 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.004963, allocations: 0.5625 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.004991, allocations: 5.781 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.005022, allocations: 3.984 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.005023, allocations: 1.094 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.005039, allocations: 16.8 kB / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005039, allocations: 0 / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001166/0.005156, allocations: 5.219 kB / 0.7329 GB, free: 0.7227 MB / 0.698 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.398e-05/0.00524, allocations: 81.11 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.738e-05/0.005297, allocations: 8.859 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.005303, allocations: 4.484 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.005315, allocations: 9.609 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.005458, allocations: 5.312 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.006049, allocations: 129.5 kB / 0.7331 GB, free: 460 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.006085, allocations: 51.36 kB / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.006102, allocations: 4.844 kB / 0.7332 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.006144, allocations: 52.19 kB / 0.7332 GB, free: 332 kB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/0.006145, allocations: 0 / 0.7332 GB, free: 332 kB / 0.698 GB Notification: Performance of Templates: time 0.00197/0.008115, allocations: 482.9 kB / 0.7337 GB, free: 15.88 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.ref.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: 4.937401902861893]