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.0139/0.0139, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.00279/0.00279, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.582/1.582, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.8 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4289, allocations: 157.4 MB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001929/0.4309, allocations: 0.6737 MB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.4319, allocations: 0.8001 MB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.4319, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.432, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.4321, allocations: 7.938 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.4322, allocations: 11.98 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.4323, allocations: 23.92 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4324, allocations: 7.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.4325, allocations: 15.92 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.4326, allocations: 11.98 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4326, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.4326, allocations: 4 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.4326, allocations: 7.922 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.4327, allocations: 8 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.765e-05/0.4328, allocations: 23.91 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4328, allocations: 3.938 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4328, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.4328, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 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.0004999/0.4333, allocations: 339.4 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4333, allocations: 12.62 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.4334, allocations: 4.922 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4335, allocations: 164.4 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4335, allocations: 384 / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.4336, allocations: 8.375 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4338, allocations: 50.23 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4338, allocations: 192 / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4338, allocations: 3.938 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4338, allocations: 0 / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.434, allocations: 31.97 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.4343, allocations: 256.8 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4345, allocations: 38.53 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.4346, allocations: 24.84 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4346, allocations: 0 / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4346, allocations: 34.56 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4346, allocations: 4 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003663/0.435, allocations: 81.58 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.4351, allocations: 51.41 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.4351, allocations: 105.8 kB / 1.21 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4352, allocations: 25.7 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.4352, allocations: 80.14 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.4352, allocations: 12.02 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.4353, allocations: 17.72 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4354, allocations: 314.8 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.4355, allocations: 11.98 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.4356, allocations: 19.98 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.4357, allocations: 40.89 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4357, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.4359, allocations: 69.53 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4359, allocations: 8 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4359, allocations: 3.938 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.436, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.4361, allocations: 7.984 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4361, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.4361, allocations: 12.02 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4361, allocations: 8 kB / 1.211 GB, free: 5.93 MB / 0.9669 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.851e-05/0.4362, allocations: 109.8 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.4363, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.4365, allocations: 76.72 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4365, allocations: 0 / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4365, allocations: 8.031 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4365, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.4367, allocations: 161.6 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4367, allocations: 0 / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.4368, allocations: 11.98 kB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4368, allocations: 0 / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4368, allocations: 0 / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.4368, allocations: 0 / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4368, allocations: 4.125 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.437, allocations: 167.4 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.4371, allocations: 85.03 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.4371, allocations: 8 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.4372, allocations: 3.984 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.4372, allocations: 4 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4372, allocations: 0 / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.4373, allocations: 83.31 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4373, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002113/0.4375, allocations: 7.938 kB / 1.212 GB, free: 5.117 MB / 0.9669 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.0001746/0.4377, allocations: 103.2 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.4379, allocations: 35.97 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4379, allocations: 0 / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.438, allocations: 20.05 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.4383, allocations: 12.95 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.4387, allocations: 122 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4389, allocations: 0.6729 MB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.4389, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.439, allocations: 7.438 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.439, allocations: 4.062 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of Templates: time 0.002592/0.4416, allocations: 443.4 kB / 1.213 GB, free: 3.648 MB / 0.9669 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