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.001084/0.001084, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001346/0.001346, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.481/2.481, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.753, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002119/0.7552, allocations: 0.7176 MB / 0.9498 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009248/0.7561, allocations: 0.8112 MB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.7562, allocations: 1.375 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.7562, allocations: 0 / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.7563, allocations: 0 / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.7565, allocations: 10.83 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.7566, allocations: 21.44 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.7568, allocations: 14.75 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.7568, allocations: 2.625 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.7569, allocations: 16.14 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.7569, allocations: 1.406 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.7569, allocations: 1.406 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.757, allocations: 5.344 kB / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.757, allocations: 5.406 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.7571, allocations: 31.98 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.7571, allocations: 5.438 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7571, allocations: 0 / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.7571, allocations: 0 / 0.9507 GB, free: 7.84 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.0004286/0.7575, allocations: 340.8 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7576, allocations: 10.16 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.7576, allocations: 6.688 kB / 0.9511 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.7577, allocations: 172.3 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.7578, allocations: 1.656 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.7578, allocations: 5.531 kB / 0.9512 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.758, allocations: 54.09 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.758, allocations: 192 / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.758, allocations: 3.938 kB / 0.9513 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.758, allocations: 1.688 kB / 0.9513 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.7582, allocations: 33.98 kB / 0.9513 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.7585, allocations: 249.3 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.7586, allocations: 38.16 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/0.7587, allocations: 22.98 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.7587, allocations: 0 / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.7587, allocations: 35.66 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.7587, allocations: 4 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003437/0.7591, allocations: 81.02 kB / 0.9517 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.7591, allocations: 52.69 kB / 0.9518 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.7592, allocations: 98.08 kB / 0.9519 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.7592, allocations: 25.7 kB / 0.9519 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.7593, allocations: 85.53 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.7593, allocations: 17.22 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.7593, allocations: 12.47 kB / 0.952 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.7594, allocations: 310.8 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.7595, allocations: 21.55 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.7596, allocations: 17.59 kB / 0.9523 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.7597, allocations: 40.14 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7597, allocations: 0 / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001688/0.7599, allocations: 75.53 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.7599, allocations: 5.5 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7599, allocations: 0 / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7599, allocations: 1.375 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.76, allocations: 9.484 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7601, allocations: 4.031 kB / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.7601, allocations: 4.125 kB / 0.9525 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.7601, allocations: 1.375 kB / 0.9525 GB, free: 6.02 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 5.535e-05/0.7602, allocations: 111.2 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.7602, allocations: 13.2 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.7604, allocations: 74.72 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7604, allocations: 4.031 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7604, allocations: 0 / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7604, allocations: 1.375 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.7606, allocations: 157.7 kB / 0.9528 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7606, allocations: 0 / 0.9528 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.7606, allocations: 10.86 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7606, allocations: 0 / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7606, allocations: 0 / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7606, allocations: 1.375 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7607, allocations: 4 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.7608, allocations: 166.8 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.7609, allocations: 78.48 kB / 0.9531 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.7609, allocations: 0 / 0.9531 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.761, allocations: 8.109 kB / 0.9531 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.761, allocations: 5.312 kB / 0.9531 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.761, allocations: 1.375 kB / 0.9531 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.606e-05/0.7611, allocations: 94.22 kB / 0.9532 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7611, allocations: 0 / 0.9532 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002094/0.7613, allocations: 4.125 kB / 0.9532 GB, free: 5.273 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.000129/0.7614, allocations: 99.19 kB / 0.9533 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.7616, allocations: 36.45 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7616, allocations: 9.281 kB / 0.9533 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.821e-05/0.7617, allocations: 19.33 kB / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.762, allocations: 7.5 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.7623, allocations: 108.4 kB / 0.9534 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.7625, allocations: 0.681 MB / 0.9541 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.7625, allocations: 5.219 kB / 0.9541 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.7625, allocations: 8.812 kB / 0.9541 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7625, allocations: 0 / 0.9541 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.002466/0.765, allocations: 394.2 kB / 0.9545 GB, free: 4.117 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