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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.001179/0.001179, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 469.4 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 66.72 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3638, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002174/0.3661, allocations: 0.6575 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3671, allocations: 0.8117 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.3671, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.3672, allocations: 3.984 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.3673, allocations: 7.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.3674, allocations: 8 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.3675, allocations: 31.91 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3676, allocations: 8 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.3677, allocations: 11.92 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.3678, allocations: 8 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3678, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.3678, allocations: 7.938 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3678, allocations: 7.984 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3678, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.3679, allocations: 27.95 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3679, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3679, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.368, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 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.000483/0.3684, allocations: 327.8 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3685, allocations: 8.625 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.3685, allocations: 12.84 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3687, allocations: 168.3 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3687, allocations: 384 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3687, allocations: 4.375 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3689, allocations: 50.23 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3689, allocations: 192 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.3689, allocations: 3.938 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.369, allocations: 7.938 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3691, allocations: 27.97 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.3695, allocations: 249 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3696, allocations: 42.44 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.3697, allocations: 20.91 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3698, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3698, allocations: 38.56 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3698, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/0.3702, allocations: 77.64 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3702, allocations: 55.34 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.3703, allocations: 105.8 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3703, allocations: 25.7 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.3704, allocations: 88.17 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3704, allocations: 8 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.3704, allocations: 13.72 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3705, allocations: 314.8 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.061e-05/0.3706, allocations: 15.98 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.3707, allocations: 11.98 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3709, allocations: 48.88 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3709, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.3711, allocations: 73.45 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3711, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3711, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3711, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.3712, allocations: 11.98 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3713, allocations: 4.031 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.3713, allocations: 7.984 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3713, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 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.062e-05/0.3714, allocations: 116.3 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.3714, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.3717, allocations: 72.72 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3717, allocations: 4.031 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3717, allocations: 8 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3717, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3719, allocations: 161.6 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3719, allocations: 3.938 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.3719, allocations: 11.92 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3719, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.372, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.372, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.372, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3722, allocations: 167.5 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.3723, allocations: 81.02 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3723, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.3724, allocations: 7.984 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.3724, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3724, allocations: 4 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.3725, allocations: 83.31 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3725, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002237/0.3727, allocations: 3.938 kB / 1.068 GB, free: 10.56 MB / 0.8419 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.0001498/0.3729, allocations: 107.2 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3731, allocations: 35.97 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3731, allocations: 4.062 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.3732, allocations: 19.98 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3735, allocations: 11.92 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.3739, allocations: 131.9 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3741, allocations: 0.6729 MB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.3742, allocations: 11.38 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3742, allocations: 4.062 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of Templates: time 0.001813/0.376, allocations: 0.5354 MB / 1.07 GB, free: 8.961 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) 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) Reference file matches