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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.01293/0.01293, allocations: 110 kB / 15.71 MB, free: 6.039 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.002392/0.002391, allocations: 192.8 kB / 16.64 MB, free: 5.969 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.53/1.53, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 71.88 kB / 0.9509 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.203, allocations: 140.4 MB / 1.088 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002095/1.205, allocations: 0.669 MB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001305/1.206, allocations: 0.8116 MB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/1.207, allocations: 1.031 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/1.207, allocations: 0 / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.213e-05/1.207, allocations: 5 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/1.207, allocations: 8.062 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/1.207, allocations: 24.98 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/1.207, allocations: 4.703 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/1.207, allocations: 9.203 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/1.207, allocations: 16.58 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/1.207, allocations: 2.219 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/1.207, allocations: 2.25 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/1.207, allocations: 6.312 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/1.207, allocations: 10.66 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/1.208, allocations: 20.91 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.208, allocations: 4.5 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.998e-06/1.208, allocations: 1.094 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.208, allocations: 0 / 1.09 GB, free: 4.367 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.0005518/1.208, allocations: 335 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.208, allocations: 10.95 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/1.208, allocations: 10.06 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.767e-05/1.208, allocations: 166.8 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/1.208, allocations: 1.078 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/1.208, allocations: 1.688 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/1.209, allocations: 48.94 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.209, allocations: 192 / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.209, allocations: 5.031 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/1.209, allocations: 4.562 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/1.209, allocations: 33.06 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/1.209, allocations: 246.3 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/1.209, allocations: 44.3 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.627e-05/1.21, allocations: 27.84 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/1.21, allocations: 0.9688 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.21, allocations: 32.14 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/1.21, allocations: 0 / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004271/1.21, allocations: 88.03 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/1.21, allocations: 56.56 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/1.21, allocations: 100.6 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/1.21, allocations: 30.58 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/1.21, allocations: 85.61 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/1.21, allocations: 1.609 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/1.21, allocations: 12.33 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/1.21, allocations: 316.9 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/1.211, allocations: 18.25 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/1.211, allocations: 18.62 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/1.211, allocations: 37.62 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.211, allocations: 0 / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00024/1.211, allocations: 74.91 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.211, allocations: 9.781 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.211, allocations: 0.5156 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.211, allocations: 0 / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/1.211, allocations: 10.03 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.211, allocations: 0 / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/1.211, allocations: 6.172 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1.211, allocations: 0.5625 kB / 1.091 GB, free: 2.66 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.933e-05/1.212, allocations: 116.6 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/1.212, allocations: 5.156 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/1.212, allocations: 71.05 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.212, allocations: 1 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.212, allocations: 4.656 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.212, allocations: 0.9688 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/1.212, allocations: 164.2 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.212, allocations: 3.938 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/1.212, allocations: 13.27 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.212, allocations: 0 / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.212, allocations: 5.188 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.212, allocations: 0 / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.212, allocations: 0.6094 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/1.212, allocations: 158.5 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/1.212, allocations: 90.77 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.212, allocations: 2.078 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/1.213, allocations: 5.859 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/1.213, allocations: 6.375 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/1.213, allocations: 4.844 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.855e-05/1.213, allocations: 79.25 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.213, allocations: 1.25 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002265/1.213, allocations: 2.812 kB / 1.092 GB, free: 1.953 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.0002283/1.213, allocations: 105.3 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002675/1.213, allocations: 35.81 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.213, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/1.214, allocations: 20.91 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/1.214, allocations: 9.156 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/1.214, allocations: 113.8 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/1.214, allocations: 0.6764 MB / 1.093 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.957e-05/1.215, allocations: 0.6562 kB / 1.093 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/1.215, allocations: 12.22 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of SimCode: time 4.6e-07/1.215, allocations: 0.6562 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of Templates: time 0.003327/1.218, allocations: 443.9 kB / 1.093 GB, free: 0.9609 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