Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.879/1.879, allocations: 306.1 MB / 321.4 MB, free: 10.69 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 175.3 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 97.12 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 19.16 kB / 0.9225 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7581, allocations: 121.3 MB / 1.041 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001075/0.7593, allocations: 392 kB / 1.041 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.7603, allocations: 0.8005 MB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.7604, allocations: 0 / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.7604, allocations: 5.219 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.7605, allocations: 0.6875 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.7607, allocations: 9.188 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.7607, allocations: 27.45 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.7609, allocations: 6.438 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.7609, allocations: 8.5 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.761, allocations: 9.062 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.761, allocations: 1.75 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.761, allocations: 1.406 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.7611, allocations: 4.938 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.7611, allocations: 35.17 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.505e-05/0.7612, allocations: 19.47 kB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.7612, allocations: 2.125 kB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7612, allocations: 7.875 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7612, allocations: 1.656 kB / 1.042 GB, free: 57.63 MB / 0.698 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.0004967/0.7617, allocations: 338 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.7618, allocations: 10.22 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.7618, allocations: 2.219 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.762, allocations: 170.2 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.762, allocations: 384 / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.762, allocations: 5.906 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.7622, allocations: 53.83 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7623, allocations: 1.969 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.7623, allocations: 10.91 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7623, allocations: 0 / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.7625, allocations: 43.2 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.7628, allocations: 246.4 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.763, allocations: 52.62 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.7631, allocations: 28.39 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.7631, allocations: 3.094 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.7631, allocations: 30.56 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7631, allocations: 0 / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000394/0.7635, allocations: 95.53 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.7636, allocations: 56.06 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.7636, allocations: 105.4 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.7637, allocations: 26.55 kB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.7637, allocations: 80.14 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.7637, allocations: 14.52 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.7637, allocations: 1.219 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.7638, allocations: 315.3 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.7639, allocations: 16.75 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.764, allocations: 24.97 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.7641, allocations: 50.16 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7641, allocations: 0.5 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.7643, allocations: 82.06 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.7644, allocations: 12.36 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7644, allocations: 0 / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7644, allocations: 0 / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.7645, allocations: 17.52 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7645, allocations: 3.938 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.7646, allocations: 6.594 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.7646, allocations: 1.281 kB / 1.044 GB, free: 55.96 MB / 0.698 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 6.412e-05/0.7646, allocations: 119.3 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.7647, allocations: 2.781 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.7649, allocations: 83.44 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.7649, allocations: 7.938 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7649, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7649, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.7651, allocations: 166.3 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7651, allocations: 3.938 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.7652, allocations: 19.8 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7652, allocations: 0 / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7652, allocations: 0 / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7652, allocations: 0 / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.7652, allocations: 0.6094 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.7654, allocations: 171.4 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.7654, allocations: 79.44 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.7655, allocations: 0.5156 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.7655, allocations: 14.2 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.7656, allocations: 0.9688 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.7656, allocations: 0 / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.7656, allocations: 86.78 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7656, allocations: 0 / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001951/0.7658, allocations: 2.406 kB / 1.045 GB, free: 55.27 MB / 0.698 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.0001345/0.766, allocations: 111.4 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.7662, allocations: 47.09 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7662, allocations: 2.906 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.7663, allocations: 25.16 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.7666, allocations: 7.406 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.7669, allocations: 115.6 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.767, allocations: 0.6727 MB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.7671, allocations: 2.438 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.7671, allocations: 7.438 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/0.7671, allocations: 0 / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of Templates: time 0.00235/0.7694, allocations: 370.2 kB / 1.046 GB, free: 54.27 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1)