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.01177/0.01177, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.002087/0.002087, allocations: 201.6 kB / 16.68 MB, free: 5.977 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.657/2.657, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 61.97 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.347, allocations: 140.4 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002203/0.3493, allocations: 0.6553 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3505, allocations: 0.8082 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.3505, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.3505, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.3506, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.3508, allocations: 11.97 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.3509, allocations: 23.86 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.351, allocations: 8 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.3511, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.3512, allocations: 19.92 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3512, allocations: 0 / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.3512, allocations: 4 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.3512, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.3512, allocations: 11.92 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.519e-05/0.3513, allocations: 23.95 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3514, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3514, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3514, allocations: 0 / 1.09 GB, free: 15.82 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.0004964/0.3519, allocations: 351.3 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3519, allocations: 8.031 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.352, allocations: 4.938 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3521, allocations: 160.4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3521, allocations: 384 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3521, allocations: 4.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3523, allocations: 54.22 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3523, allocations: 192 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3524, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3524, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3525, allocations: 31.95 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.3529, allocations: 244.9 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3531, allocations: 50.42 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.3532, allocations: 20.91 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3532, allocations: 4 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3532, allocations: 30.56 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3532, allocations: 0 / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.3536, allocations: 85.53 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3536, allocations: 55.53 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.3537, allocations: 105.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3538, allocations: 25.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.3538, allocations: 84.14 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3538, allocations: 3.953 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3539, allocations: 13.72 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.354, allocations: 310.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3541, allocations: 23.97 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.3542, allocations: 15.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.3543, allocations: 36.83 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3543, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.3545, allocations: 73.62 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3546, allocations: 8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3546, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3546, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3547, allocations: 7.984 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3547, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.3548, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3548, allocations: 3.938 kB / 1.091 GB, free: 13.8 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 7.819e-05/0.3549, allocations: 117.8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.3549, allocations: 4 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.3551, allocations: 76.72 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3551, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3551, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3552, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3553, allocations: 161.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3553, allocations: 3.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.3554, allocations: 8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3554, allocations: 4.031 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3554, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3554, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3554, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3557, allocations: 163.5 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.3557, allocations: 85.03 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3558, allocations: 4.031 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.3558, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3559, allocations: 15.86 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3559, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.3559, allocations: 83.47 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.356, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002136/0.3562, allocations: 4 kB / 1.092 GB, free: 12.98 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.0001524/0.3563, allocations: 99.92 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.3566, allocations: 39.95 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3566, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.3567, allocations: 19.98 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.357, allocations: 5.344 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.3573, allocations: 109.6 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3576, allocations: 0.6768 MB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.3577, allocations: 3.984 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.3577, allocations: 11.44 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.3577, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.002556/0.3603, allocations: 445.8 kB / 1.093 GB, free: 11.52 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/jenkins/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