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.0009799/0.0009795, allocations: 92 kB / 16.02 MB, free: 80 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.001401/0.001401, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 15.88 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.0009345/0.3321, allocations: 404.5 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3332, allocations: 0.8078 MB / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.3333, allocations: 0 / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.3333, allocations: 0 / 1.061 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.3334, allocations: 11.92 kB / 1.061 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.3335, allocations: 7.984 kB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.3336, allocations: 23.94 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3337, allocations: 7.984 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.3338, allocations: 11.94 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.3339, allocations: 3.984 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3339, allocations: 4 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.3339, allocations: 0 / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.3339, allocations: 3.938 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.334, allocations: 33.7 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.836e-05/0.3341, allocations: 15.95 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3341, allocations: 3.984 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3341, allocations: 11.94 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3341, allocations: 0 / 1.061 GB, free: 3.598 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.0004633/0.3346, allocations: 335.7 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3346, allocations: 11.97 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.3346, allocations: 4.922 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3348, allocations: 168.3 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3348, allocations: 384 / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.3348, allocations: 4.375 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.335, allocations: 58.17 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.335, allocations: 192 / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3351, allocations: 3.938 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3351, allocations: 0 / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.3353, allocations: 47.97 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.3356, allocations: 245 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3358, allocations: 46.5 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.3359, allocations: 28.91 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3359, allocations: 3.938 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.336, allocations: 34.55 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.336, allocations: 0 / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.3363, allocations: 93.66 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3364, allocations: 59.39 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.3365, allocations: 102 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3365, allocations: 25.7 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.3365, allocations: 80.14 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.3366, allocations: 3.906 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.3366, allocations: 17.7 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.3367, allocations: 314.8 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.3368, allocations: 19.92 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.3369, allocations: 31.92 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.337, allocations: 48.81 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.337, allocations: 4.062 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.3372, allocations: 73.61 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3373, allocations: 8 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3373, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3373, allocations: 3.984 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.3374, allocations: 12.22 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3374, allocations: 3.938 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.3375, allocations: 11.98 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3375, allocations: 0 / 1.062 GB, free: 1.504 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.099e-05/0.3376, allocations: 117.7 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3376, allocations: 11.89 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.3378, allocations: 76.78 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3379, allocations: 4 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3379, allocations: 4 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3379, allocations: 3.984 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.338, allocations: 157.6 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.338, allocations: 4.031 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.3381, allocations: 11.98 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3381, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3381, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3381, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3381, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3384, allocations: 183.4 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.3384, allocations: 77.11 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.3385, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.3385, allocations: 11.98 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.3386, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3386, allocations: 8.031 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.3386, allocations: 79.28 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3386, allocations: 0 / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002169/0.3389, allocations: 7.938 kB / 1.063 GB, free: 0.6641 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.0001426/0.339, allocations: 99.23 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3392, allocations: 51.91 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3392, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.3393, allocations: 27.97 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3396, allocations: 7.938 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.3399, allocations: 148.6 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3402, allocations: 0.6809 MB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.3402, allocations: 7.438 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3402, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.001826/0.342, allocations: 0.5392 MB / 1.065 GB, free: 15.04 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/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