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.00102/0.00102, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01016/0.01016, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.635/1.635, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.983/2.983, allocations: 462.7 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 11.97 kB / 0.9028 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.37, allocations: 159.6 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001033/0.3711, allocations: 404.5 kB / 1.059 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.372, allocations: 0.804 MB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.3721, allocations: 0 / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.3721, allocations: 0 / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.3722, allocations: 7.875 kB / 1.06 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.3723, allocations: 15.97 kB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.3724, allocations: 15.94 kB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3725, allocations: 15.98 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.3726, allocations: 7.938 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.3727, allocations: 7.984 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3727, allocations: 4 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.3727, allocations: 0 / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3727, allocations: 3.938 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3728, allocations: 29.7 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.958e-05/0.3728, allocations: 31.88 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3729, allocations: 0 / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3729, allocations: 0 / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3729, allocations: 4 kB / 1.06 GB, free: 4.184 MB / 0.8106 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.0004358/0.3733, allocations: 343.7 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3734, allocations: 8.031 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.3734, allocations: 0.9375 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.3735, allocations: 168.3 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3735, allocations: 384 / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.3735, allocations: 384 / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3737, allocations: 62.17 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.3737, allocations: 192 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3738, allocations: 7.938 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3738, allocations: 0 / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.374, allocations: 47.95 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.3743, allocations: 241 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3744, allocations: 42.5 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3745, allocations: 44.77 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3746, allocations: 0 / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3746, allocations: 30.56 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3746, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.375, allocations: 97.64 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.375, allocations: 51.41 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.3751, allocations: 101.8 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3751, allocations: 25.7 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.3752, allocations: 88.27 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.3752, allocations: 11.89 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.3752, allocations: 9.719 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3754, allocations: 314.8 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.3754, allocations: 23.98 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.3755, allocations: 19.98 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3757, allocations: 48.81 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3757, allocations: 3.938 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.3759, allocations: 89.67 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3759, allocations: 7.984 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.376, allocations: 0 / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.376, allocations: 0 / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.3761, allocations: 12.03 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3761, allocations: 3.938 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.3761, allocations: 11.98 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3761, allocations: 0 / 1.062 GB, free: 2.078 MB / 0.8106 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.522e-05/0.3762, allocations: 111.3 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3763, allocations: 7.906 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.3765, allocations: 88.77 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3765, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3765, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3766, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3767, allocations: 157.6 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3767, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.3768, allocations: 16.02 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3768, allocations: 0 / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3768, allocations: 4 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3768, allocations: 0 / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3768, allocations: 7.875 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.3771, allocations: 175.5 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.3771, allocations: 77.11 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3772, allocations: 4 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.3772, allocations: 7.984 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.3773, allocations: 0 / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3773, allocations: 4 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.3773, allocations: 87.3 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3773, allocations: 0 / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002102/0.3775, allocations: 7.938 kB / 1.063 GB, free: 1.242 MB / 0.8106 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.0001773/0.3777, allocations: 99.25 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.378, allocations: 47.91 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.378, allocations: 4 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.3781, allocations: 23.97 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3784, allocations: 7.938 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.3787, allocations: 124.5 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3789, allocations: 0.677 MB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.379, allocations: 0 / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.379, allocations: 7.438 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.379, allocations: 3.938 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of Templates: time 0.002409/0.3814, allocations: 372.8 kB / 1.064 GB, free: 15.83 MB / 0.8262 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/jenkins/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