Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_10_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_10_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.001569/0.001569, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 0.8692 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7579, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002231/0.7601, allocations: 0.6609 MB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.7614, allocations: 0.8079 MB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.7614, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.7615, allocations: 3.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.7616, allocations: 7.984 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.7618, allocations: 7.938 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.7618, allocations: 23.97 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.762, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.762, allocations: 11.92 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.7621, allocations: 8 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.7621, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.7622, allocations: 7.938 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.7622, allocations: 15.92 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.7622, allocations: 8 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.657e-05/0.7623, allocations: 27.89 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7623, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7623, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7624, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 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.0004969/0.7629, allocations: 333.4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7629, allocations: 12.03 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.7629, allocations: 0.9375 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.7631, allocations: 172.3 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.7631, allocations: 4.375 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.7631, allocations: 384 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.7633, allocations: 46.25 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7633, allocations: 4.172 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.7634, allocations: 3.938 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7634, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.7635, allocations: 39.91 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.7639, allocations: 240.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.7641, allocations: 42.53 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.7642, allocations: 20.91 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.7642, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.7642, allocations: 42.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 4.238e-06/0.7642, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.7646, allocations: 81.52 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.7647, allocations: 59.41 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.7648, allocations: 97.97 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.7648, allocations: 29.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.7649, allocations: 88.08 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.7649, allocations: 3.906 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.7649, allocations: 13.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7651, allocations: 318.8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.7652, allocations: 15.98 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.7653, allocations: 23.98 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.7654, allocations: 40.77 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7654, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.7656, allocations: 65.59 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7657, allocations: 8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7657, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.7657, allocations: 4.094 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.7658, allocations: 7.984 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7658, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.7658, allocations: 3.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.7659, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 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.741e-05/0.7659, allocations: 109.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.766, allocations: 7.906 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.7662, allocations: 76.72 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7662, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7662, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7663, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.7664, allocations: 161.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7664, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.7665, allocations: 11.98 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7665, allocations: 192 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.7665, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.7665, allocations: 4.031 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7665, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.7668, allocations: 171.4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.7668, allocations: 77.11 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.7669, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.7669, allocations: 11.95 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.767, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.767, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.7671, allocations: 83.28 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7671, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002256/0.7673, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 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.0001616/0.7675, allocations: 99.23 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.7677, allocations: 39.97 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7677, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.7678, allocations: 23.92 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.7681, allocations: 7.922 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.7685, allocations: 114.1 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.7688, allocations: 0.6769 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.7688, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.7688, allocations: 11.44 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7688, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002536/0.7714, allocations: 446.7 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches