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.001856/0.001856, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002/0.002, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 3.125/3.125, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.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 2.014e-06/2.014e-06, allocations: 0 / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.39e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001898/0.001932, allocations: 0.6632 MB / 0.8115 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003119, allocations: 0.8589 MB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.003151, allocations: 1.531 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.003174, allocations: 3.938 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.003235, allocations: 0 / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.003398, allocations: 11.98 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.003472, allocations: 25.52 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.003555, allocations: 4 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.003636, allocations: 19.91 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.003673, allocations: 8 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.003688, allocations: 1.031 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/0.003732, allocations: 4 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.003751, allocations: 15.92 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.003768, allocations: 0.7812 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.003878, allocations: 35.83 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00388, allocations: 0.6562 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003881, allocations: 1.031 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.003884, allocations: 0 / 0.8125 GB, free: 412 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.0004983/0.004383, allocations: 352.4 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.004426, allocations: 13.19 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.004533, allocations: 8.828 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.004672, allocations: 112.7 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004684, allocations: 1.75 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.004694, allocations: 4.375 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.004836, allocations: 46.23 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004844, allocations: 1.938 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.004852, allocations: 384 / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.004856, allocations: 384 / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.004986, allocations: 27.77 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.005341, allocations: 249 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.005458, allocations: 43.08 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.005527, allocations: 24.3 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.005548, allocations: 1.812 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.005588, allocations: 41.33 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.005588, allocations: 0 / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000283/0.005871, allocations: 72.12 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.005919, allocations: 55.41 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.006042, allocations: 157.9 kB / 0.8136 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.006064, allocations: 25.7 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.006145, allocations: 134.8 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.006165, allocations: 7.938 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.006209, allocations: 23.38 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.006462, allocations: 492.8 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.006523, allocations: 15.98 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.006565, allocations: 4.531 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.006672, allocations: 37.27 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006674, allocations: 0 / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000153/0.006827, allocations: 50.81 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.006844, allocations: 11.98 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.006857, allocations: 4.688 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.00687, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.006943, allocations: 4.594 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006948, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.006982, allocations: 4.844 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.006987, allocations: 0 / 0.8144 GB, free: 14.22 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 0.000117/0.007104, allocations: 166.5 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.007129, allocations: 3.938 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.007307, allocations: 56.94 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.007312, allocations: 4.641 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.007315, allocations: 0 / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.007322, allocations: 6.438 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.007474, allocations: 112.6 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007475, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.007521, allocations: 7.984 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007522, allocations: 0 / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.007531, allocations: 4 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.007535, allocations: 3.938 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.00754, allocations: 5.844 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.007803, allocations: 207.8 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.007816, allocations: 7.922 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.007827, allocations: 0.5312 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.007892, allocations: 9.031 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.007928, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007931, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.74e-05/0.008008, allocations: 131.2 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008008, allocations: 4.75 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002073/0.008215, allocations: 4 kB / 0.8151 GB, free: 13.44 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.0001162/0.008332, allocations: 97.09 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.008496, allocations: 31.67 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008497, allocations: 1.344 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.008571, allocations: 27.61 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.008819, allocations: 6.828 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.009137, allocations: 115.1 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.459e-05/0.009211, allocations: 66.89 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.009236, allocations: 4 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.009268, allocations: 8.5 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.009269, allocations: 0 / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.003096/0.01236, allocations: 492.8 kB / 0.8159 GB, free: 12.57 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.32709034893196]