Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 255.9 MB / 271.2 MB, free: 8.879 MB / 218.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.0009846/0.0009848, allocations: 191.2 kB / 330.8 MB, free: 452 kB / 250.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.309/1.309, allocations: 225.7 MB / 0.6016 GB, free: 1.648 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007135/0.0007135, allocations: 103.6 kB / 0.709 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 12.83 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 109.2 MB / 0.9327 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.001866/0.1453, allocations: 1.836 MB / 0.9345 GB, free: 4.426 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.4333/0.5785, allocations: 139.9 MB / 1.071 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.5788, allocations: 1.281 kB / 1.071 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008169/0.5796, allocations: 0.7726 MB / 1.072 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0006206/0.5802, allocations: 483.6 kB / 1.072 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009066/0.5812, allocations: 347.5 kB / 1.073 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0006542/0.5818, allocations: 0.5454 MB / 1.073 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.582, allocations: 82.36 kB / 1.073 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.5835, allocations: 322.9 kB / 1.074 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.584, allocations: 455.6 kB / 1.074 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.5841, allocations: 10.12 kB / 1.074 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.5846, allocations: 278 kB / 1.074 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.5847, allocations: 176.8 kB / 1.075 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.585, allocations: 270 kB / 1.075 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.5857, allocations: 0.7029 MB / 1.075 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/0.5857, allocations: 0 / 1.075 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5857, allocations: 1.281 kB / 1.075 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.5858, allocations: 0 / 1.075 GB, free: 6.883 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001411/0.5872, allocations: 0.9688 MB / 1.076 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5872, allocations: 13.14 kB / 1.076 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.5886, allocations: 194.3 kB / 1.077 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.5892, allocations: 489.8 kB / 1.077 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.5892, allocations: 12.53 kB / 1.077 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.5892, allocations: 17.84 kB / 1.077 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.5901, allocations: 329.2 kB / 1.077 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.5901, allocations: 3.984 kB / 1.077 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.5902, allocations: 13.45 kB / 1.077 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5902, allocations: 9.75 kB / 1.077 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.5913, allocations: 332.8 kB / 1.078 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5932, allocations: 1.113 MB / 1.079 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5943, allocations: 400.8 kB / 1.079 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.5949, allocations: 211 kB / 1.079 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.595, allocations: 12.8 kB / 1.079 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007433/0.5957, allocations: 306.8 kB / 1.08 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.836e-06/0.5957, allocations: 0 / 1.08 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.007757/0.6035, allocations: 1.204 MB / 1.081 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.6035, allocations: 83.75 kB / 1.081 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.6049, allocations: 1.339 MB / 1.082 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.6049, allocations: 31.95 kB / 1.082 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.6052, allocations: 369.4 kB / 1.083 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.6053, allocations: 96.45 kB / 1.083 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.6053, allocations: 9.031 kB / 1.083 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.6054, allocations: 317.2 kB / 1.083 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/0.606, allocations: 172.8 kB / 1.083 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.6066, allocations: 222.9 kB / 1.083 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6077, allocations: 390.3 kB / 1.084 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6077, allocations: 0 / 1.084 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003417/0.6112, allocations: 0.7052 MB / 1.085 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6112, allocations: 5.969 kB / 1.085 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.6112, allocations: 1.125 kB / 1.085 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008867/0.6121, allocations: 185.2 kB / 1.085 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.6124, allocations: 60.95 kB / 1.085 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.6188, allocations: 2.107 MB / 1.087 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.6192, allocations: 50.44 kB / 1.087 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.6193, allocations: 17.11 kB / 1.087 GB, free: 14.86 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.6196, allocations: 291.4 kB / 1.087 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.6197, allocations: 79.72 kB / 1.087 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.6232, allocations: 0.7592 MB / 1.088 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6232, allocations: 2.938 kB / 1.088 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.6233, allocations: 2.875 kB / 1.088 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6233, allocations: 0 / 1.088 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.6238, allocations: 0.5678 MB / 1.089 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6238, allocations: 3.094 kB / 1.089 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.6241, allocations: 47.69 kB / 1.089 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008362/0.6249, allocations: 181.7 kB / 1.089 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.625, allocations: 19.95 kB / 1.089 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006054/0.631, allocations: 2.093 MB / 1.091 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6311, allocations: 2.938 kB / 1.091 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.6345, allocations: 0.7523 MB / 1.092 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.6346, allocations: 153.6 kB / 1.092 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.6347, allocations: 7.281 kB / 1.092 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.6351, allocations: 31.44 kB / 1.092 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.6351, allocations: 29.97 kB / 1.092 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.6352, allocations: 15.2 kB / 1.092 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008365/0.636, allocations: 0.9942 MB / 1.093 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/0.636, allocations: 0 / 1.093 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004042/0.6364, allocations: 113 kB / 1.093 GB, free: 10.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008519/0.6373, allocations: 496.1 kB / 1.093 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.6388, allocations: 0.5492 MB / 1.094 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6388, allocations: 4 kB / 1.094 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000795/0.6396, allocations: 365.9 kB / 1.094 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.6402, allocations: 120.4 kB / 1.094 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.6424, allocations: 1.787 MB / 1.096 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.6429, allocations: 0.9681 MB / 1.097 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.6432, allocations: 89.44 kB / 1.097 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.6433, allocations: 40.11 kB / 1.097 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of SimCode: time 3.01e-07/0.6433, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.01384/0.6572, allocations: 9.691 MB / 1.107 GB, free: 3.043 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)