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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001698/0.001698, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001941/0.001941, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.981/2.981, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 13.72 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3505, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.0009447/0.3515, allocations: 392.6 kB / 1.058 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3526, allocations: 0.7963 MB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.3526, allocations: 4 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.3526, allocations: 3.938 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.101e-05/0.3527, allocations: 3.984 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.3529, allocations: 0 / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.957e-05/0.353, allocations: 23.92 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.3531, allocations: 12 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.3531, allocations: 11.92 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.3532, allocations: 8 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3532, allocations: 3.938 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.3532, allocations: 0 / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3533, allocations: 3.984 kB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.3533, allocations: 33.64 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.37e-05/0.3534, allocations: 11.97 kB / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3534, allocations: 0 / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3534, allocations: 4 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3534, allocations: 0 / 1.059 GB, free: 3.984 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.0004605/0.3539, allocations: 344.9 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3539, allocations: 8.031 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.354, allocations: 3.938 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3541, allocations: 175 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3541, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3541, allocations: 3.953 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.3544, allocations: 57.67 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3544, allocations: 0 / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3544, allocations: 0 / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3544, allocations: 7.984 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3546, allocations: 51.89 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.355, allocations: 244.9 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3551, allocations: 42.55 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.3552, allocations: 28.91 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3553, allocations: 0 / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3553, allocations: 38.5 kB / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3553, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003558/0.3557, allocations: 93.64 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3557, allocations: 55.41 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.3558, allocations: 101.8 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3558, allocations: 25.7 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.3559, allocations: 84.27 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3559, allocations: 7.906 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.3559, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.356, allocations: 314.8 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.3561, allocations: 19.98 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.3562, allocations: 27.97 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.3563, allocations: 27.88 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3563, allocations: 3.938 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.3565, allocations: 77.72 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3565, allocations: 8 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3565, allocations: 0 / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3565, allocations: 0 / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.3566, allocations: 8 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3566, allocations: 3.984 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.3567, allocations: 11.98 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3567, allocations: 4.031 kB / 1.061 GB, free: 1.926 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.3568, allocations: 109.8 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3568, allocations: 7.906 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3571, allocations: 88.7 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3571, allocations: 4 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3571, allocations: 0 / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3571, allocations: 0 / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3573, allocations: 153.7 kB / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3573, allocations: 7.891 kB / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.3573, allocations: 11.98 kB / 1.061 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3573, allocations: 0 / 1.061 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3574, allocations: 0 / 1.061 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3574, allocations: 8 kB / 1.061 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3574, allocations: 4.031 kB / 1.061 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3576, allocations: 171.5 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.3576, allocations: 85.09 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3577, allocations: 0 / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.3577, allocations: 11.98 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3578, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3578, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.3578, allocations: 87.27 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002159/0.3581, allocations: 7.938 kB / 1.062 GB, free: 1.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.3582, allocations: 103.2 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3584, allocations: 39.97 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3584, allocations: 0 / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.3585, allocations: 32.03 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3588, allocations: 7.938 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.3591, allocations: 114.5 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.3593, allocations: 0.677 MB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.3594, allocations: 8.062 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.3594, allocations: 7.438 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3594, allocations: 0 / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of Templates: time 0.00265/0.3621, allocations: 366.6 kB / 1.063 GB, free: 15.68 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