Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, 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.001393/0.001393, allocations: 193.4 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 67.89 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.947/0.9484, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.0023/0.9508, allocations: 0.6599 MB / 0.9502 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.9518, allocations: 0.8084 MB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.9519, allocations: 0 / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.9519, allocations: 3.984 kB / 0.951 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.952, allocations: 5.719 kB / 0.951 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.9522, allocations: 8.672 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.079e-05/0.9522, allocations: 25.64 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.9524, allocations: 3.906 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.9524, allocations: 10.3 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.9525, allocations: 11.53 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.9525, allocations: 5.969 kB / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.9525, allocations: 5.219 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.9526, allocations: 5.172 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.9526, allocations: 10.5 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.716e-05/0.9527, allocations: 23.7 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.9527, allocations: 0 / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9527, allocations: 0 / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.9527, allocations: 1.375 kB / 0.9512 GB, free: 7.891 MB / 0.7169 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.0004005/0.9531, allocations: 342 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9532, allocations: 14.44 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.9532, allocations: 0.9375 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.9533, allocations: 169.6 kB / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.9533, allocations: 1.469 kB / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.9533, allocations: 1.844 kB / 0.9517 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.9535, allocations: 49.7 kB / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9535, allocations: 192 / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.9535, allocations: 3.938 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9535, allocations: 1.156 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.9537, allocations: 34.72 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.954, allocations: 252.9 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.9541, allocations: 39.97 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.9542, allocations: 21.44 kB / 0.952 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.9543, allocations: 4.984 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.9543, allocations: 31.56 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.9543, allocations: 0 / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.9546, allocations: 84.36 kB / 0.9522 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.9547, allocations: 56.72 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.362e-05/0.9547, allocations: 103.4 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.9547, allocations: 25.7 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.9548, allocations: 80.14 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.9548, allocations: 9.25 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.9548, allocations: 15.53 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.9549, allocations: 316.6 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.435e-05/0.955, allocations: 20.45 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.9551, allocations: 21.95 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.9552, allocations: 38.94 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9552, allocations: 1.156 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001881/0.9554, allocations: 68.33 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9555, allocations: 9.656 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9555, allocations: 0 / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9555, allocations: 0 / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.9556, allocations: 10.55 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.9556, allocations: 0 / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.9556, allocations: 15.52 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.9557, allocations: 1.094 kB / 0.9529 GB, free: 6.062 MB / 0.7169 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 4.962e-05/0.9557, allocations: 111.1 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.9557, allocations: 9.219 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.956, allocations: 74 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.956, allocations: 1.438 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.956, allocations: 0 / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.956, allocations: 0 / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.9561, allocations: 163.2 kB / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9561, allocations: 0 / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.9562, allocations: 9.609 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9562, allocations: 4.031 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.9562, allocations: 5.375 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.9562, allocations: 0 / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9562, allocations: 0 / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.9564, allocations: 163.9 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.9564, allocations: 78.36 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.9565, allocations: 4.031 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.9565, allocations: 7.922 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.9566, allocations: 5.844 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.9566, allocations: 0 / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.136e-05/0.9566, allocations: 78.12 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9566, allocations: 1.344 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002278/0.9569, allocations: 7.219 kB / 0.9536 GB, free: 5.328 MB / 0.7169 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.0001115/0.957, allocations: 101.9 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.9572, allocations: 36.47 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9572, allocations: 5.156 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.9573, allocations: 14.45 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.9576, allocations: 14.8 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.9579, allocations: 117.2 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.958, allocations: 0.6773 MB / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.9581, allocations: 0 / 0.9545 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.9581, allocations: 8.719 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.9581, allocations: 1.062 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of Templates: time 0.002268/0.9604, allocations: 448.4 kB / 0.955 GB, free: 4.148 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches