Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 250 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 489.7 MB / 0.7761 GB, free: 2.422 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 75.88 kB / 1.127 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8656, allocations: 172 MB / 1.295 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001965/0.8675, allocations: 0.6727 MB / 1.296 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.8686, allocations: 0.8095 MB / 1.296 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.8686, allocations: 1.188 kB / 1.296 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.8686, allocations: 0 / 1.296 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.585e-05/0.8687, allocations: 6.062 kB / 1.296 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.8688, allocations: 7.641 kB / 1.296 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.8689, allocations: 25.72 kB / 1.296 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.869, allocations: 2.844 kB / 1.296 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.869, allocations: 13.3 kB / 1.296 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.8691, allocations: 9 kB / 1.296 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.8691, allocations: 6.875 kB / 1.296 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.8691, allocations: 1.594 kB / 1.296 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.8691, allocations: 9.469 kB / 1.296 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.8692, allocations: 7.578 kB / 1.296 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.379e-05/0.8692, allocations: 24.02 kB / 1.296 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8692, allocations: 0 / 1.296 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8692, allocations: 3.938 kB / 1.296 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8693, allocations: 1.656 kB / 1.296 GB, free: 4.586 MB / 0.9981 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.0004789/0.8697, allocations: 335.8 kB / 1.297 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.8698, allocations: 13.84 kB / 1.297 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.8698, allocations: 2.438 kB / 1.297 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.8699, allocations: 167.4 kB / 1.297 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.8699, allocations: 384 / 1.297 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.87, allocations: 1.781 kB / 1.297 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.8701, allocations: 49.27 kB / 1.297 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8701, allocations: 4.125 kB / 1.297 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.8702, allocations: 5.375 kB / 1.297 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.8702, allocations: 0.6562 kB / 1.297 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.8703, allocations: 36.86 kB / 1.297 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.8707, allocations: 253.2 kB / 1.297 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.8708, allocations: 44.83 kB / 1.297 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.8709, allocations: 23.42 kB / 1.297 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.8709, allocations: 4 kB / 1.297 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.871, allocations: 32.25 kB / 1.297 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.871, allocations: 0 / 1.297 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003557/0.8713, allocations: 84.52 kB / 1.297 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.8714, allocations: 52.62 kB / 1.298 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.8714, allocations: 104.7 kB / 1.298 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.8715, allocations: 26.27 kB / 1.298 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.8715, allocations: 81.88 kB / 1.298 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.8715, allocations: 5.922 kB / 1.298 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.8716, allocations: 16.59 kB / 1.298 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.8717, allocations: 312.8 kB / 1.298 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.8718, allocations: 13.73 kB / 1.298 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.8719, allocations: 22.55 kB / 1.298 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.872, allocations: 37.44 kB / 1.298 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.872, allocations: 0 / 1.298 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001954/0.8722, allocations: 71.36 kB / 1.298 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.8722, allocations: 5.469 kB / 1.298 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8722, allocations: 4.797 kB / 1.298 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8722, allocations: 0 / 1.298 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.8723, allocations: 9.078 kB / 1.298 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.8723, allocations: 1.094 kB / 1.298 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.8724, allocations: 9.453 kB / 1.298 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.8724, allocations: 5.438 kB / 1.298 GB, free: 2.871 MB / 0.9981 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.318e-05/0.8725, allocations: 117.1 kB / 1.298 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.8725, allocations: 0.9062 kB / 1.298 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.8727, allocations: 79.23 kB / 1.298 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8727, allocations: 2.125 kB / 1.298 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8727, allocations: 0 / 1.298 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.8727, allocations: 192 / 1.298 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.8729, allocations: 167 kB / 1.299 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8729, allocations: 1.625 kB / 1.299 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.873, allocations: 12.2 kB / 1.299 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.873, allocations: 1.531 kB / 1.299 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.873, allocations: 4.641 kB / 1.299 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.873, allocations: 7.922 kB / 1.299 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.873, allocations: 6.031 kB / 1.299 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.8732, allocations: 158.2 kB / 1.299 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.8733, allocations: 77.81 kB / 1.299 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.8733, allocations: 9.125 kB / 1.299 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.8734, allocations: 10.47 kB / 1.299 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.8734, allocations: 1.688 kB / 1.299 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.8734, allocations: 1.766 kB / 1.299 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.8734, allocations: 80.08 kB / 1.299 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8734, allocations: 0 / 1.299 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002129/0.8737, allocations: 3.562 kB / 1.299 GB, free: 2.164 MB / 0.9981 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.0001591/0.8738, allocations: 103.1 kB / 1.299 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.874, allocations: 38.41 kB / 1.299 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.874, allocations: 1.25 kB / 1.299 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.8741, allocations: 16.06 kB / 1.299 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.8744, allocations: 12.09 kB / 1.299 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.8747, allocations: 143.7 kB / 1.299 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.875, allocations: 0.6796 MB / 1.3 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.875, allocations: 8.531 kB / 1.3 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.875, allocations: 0 / 1.3 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of Templates: time 0.002108/0.8771, allocations: 0.5359 MB / 1.3 GB, free: 1.176 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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