Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 107.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8652, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001916/0.8672, allocations: 0.6615 MB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.8681, allocations: 0.8047 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.8682, allocations: 4.812 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.8682, allocations: 0.6562 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.8683, allocations: 4.812 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.8684, allocations: 8.984 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.8685, allocations: 28.45 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.8686, allocations: 4.75 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.17e-05/0.8687, allocations: 8.719 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.8687, allocations: 17.12 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.8688, allocations: 2.25 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.8688, allocations: 6.156 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.8688, allocations: 1.125 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.8688, allocations: 12 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.8689, allocations: 20.67 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8689, allocations: 1.125 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8689, allocations: 0 / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.869, allocations: 0 / 1.09 GB, free: 4.43 MB / 0.8575 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.0003997/0.8694, allocations: 333.6 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.8694, allocations: 12.84 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.8694, allocations: 10 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.8695, allocations: 167 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.8695, allocations: 1.5 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.8696, allocations: 13.45 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.8697, allocations: 45.59 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.8698, allocations: 192 / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.8698, allocations: 7.938 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.8698, allocations: 1.062 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.87, allocations: 37.02 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.8702, allocations: 245.8 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.8704, allocations: 44.25 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.8705, allocations: 20.3 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.8705, allocations: 4.844 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.8705, allocations: 31.83 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8705, allocations: 0 / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003756/0.8709, allocations: 84.2 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.871, allocations: 52.28 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.871, allocations: 101.9 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.871, allocations: 29.83 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.8711, allocations: 85.97 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.8711, allocations: 4.922 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.8711, allocations: 17.33 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.8712, allocations: 313 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.8713, allocations: 18.36 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.8714, allocations: 18.11 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.8715, allocations: 37.03 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8715, allocations: 4 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.8717, allocations: 74.7 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8718, allocations: 6.062 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.8718, allocations: 5.125 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8718, allocations: 4.094 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.8719, allocations: 12.91 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.8719, allocations: 0.7969 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.872, allocations: 6.375 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.872, allocations: 1.188 kB / 1.092 GB, free: 2.703 MB / 0.8575 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.212e-05/0.872, allocations: 111.2 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.8721, allocations: 3.094 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.8723, allocations: 78.34 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.8723, allocations: 1.094 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8723, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.8723, allocations: 0.75 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.8725, allocations: 159.9 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8725, allocations: 0.7969 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.8725, allocations: 8.734 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8725, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.8726, allocations: 5.797 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8726, allocations: 4.031 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8726, allocations: 0.8438 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.8728, allocations: 161.8 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.8728, allocations: 82.69 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.8728, allocations: 1.984 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.8729, allocations: 9.531 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.873, allocations: 6.094 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.873, allocations: 2.016 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.873, allocations: 83.89 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.873, allocations: 0 / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002156/0.8732, allocations: 7.281 kB / 1.093 GB, free: 2.004 MB / 0.8575 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.0001351/0.8734, allocations: 101.9 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.8736, allocations: 39.11 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8736, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.8737, allocations: 16.14 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.874, allocations: 11.61 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.8743, allocations: 135 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.8744, allocations: 0.6766 MB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.8744, allocations: 13.16 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.8744, allocations: 3.938 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of Templates: time 0.002109/0.8766, allocations: 0.5421 MB / 1.094 GB, free: 1.023 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches