Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.258/2.258, allocations: 254.9 MB / 269.9 MB, free: 9.613 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.002005/0.002005, allocations: 191.4 kB / 329.5 MB, free: 1.137 MB / 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 2.397/2.397, allocations: 225.6 MB / 0.6001 GB, free: 2.238 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.0009811/0.0009809, allocations: 98.03 kB / 0.7074 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007676/0.0007678, allocations: 10 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2633, allocations: 109.1 MB / 0.9307 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002627/0.266, allocations: 1.836 MB / 0.9325 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.8213/1.087, allocations: 136.7 MB / 1.066 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/1.088, allocations: 5.469 kB / 1.066 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/1.089, allocations: 0.7506 MB / 1.067 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/1.09, allocations: 460.5 kB / 1.067 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/1.092, allocations: 338.9 kB / 1.068 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001152/1.093, allocations: 483 kB / 1.068 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/1.093, allocations: 84.06 kB / 1.068 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000965/1.094, allocations: 305.7 kB / 1.068 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/1.095, allocations: 395.3 kB / 1.069 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.052e-05/1.095, allocations: 8.719 kB / 1.069 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/1.096, allocations: 275.1 kB / 1.069 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/1.096, allocations: 173.2 kB / 1.069 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/1.097, allocations: 120.5 kB / 1.069 GB, free: 17.15 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/1.098, allocations: 0.525 MB / 1.07 GB, free: 17.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.098, allocations: 1.438 kB / 1.07 GB, free: 17.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.236e-06/1.098, allocations: 0 / 1.07 GB, free: 17.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.625e-05/1.098, allocations: 1.859 kB / 1.07 GB, free: 17.09 MB / 0.6667 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.002153/1.1, allocations: 0.973 MB / 1.071 GB, free: 16.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.1, allocations: 9.031 kB / 1.071 GB, free: 16.41 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/1.103, allocations: 196.3 kB / 1.071 GB, free: 16.35 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/1.104, allocations: 457.8 kB / 1.071 GB, free: 16.06 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/1.104, allocations: 12.22 kB / 1.071 GB, free: 16.06 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/1.104, allocations: 25.7 kB / 1.071 GB, free: 16.06 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/1.105, allocations: 322.5 kB / 1.072 GB, free: 16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.105, allocations: 3.938 kB / 1.072 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/1.105, allocations: 6.656 kB / 1.072 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.105, allocations: 9.328 kB / 1.072 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/1.108, allocations: 338.8 kB / 1.072 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/1.111, allocations: 1.122 MB / 1.073 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.113, allocations: 405.5 kB / 1.074 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/1.114, allocations: 201 kB / 1.074 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.4e-05/1.114, allocations: 11.7 kB / 1.074 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/1.116, allocations: 302.9 kB / 1.074 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 3.196e-06/1.116, allocations: 0 / 1.074 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.01736/1.133, allocations: 1.204 MB / 1.075 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/1.133, allocations: 84.36 kB / 1.075 GB, free: 15 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.135, allocations: 1.349 MB / 1.077 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/1.135, allocations: 31.58 kB / 1.077 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/1.135, allocations: 367 kB / 1.077 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/1.136, allocations: 99.83 kB / 1.077 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/1.136, allocations: 3.375 kB / 1.077 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.136, allocations: 322.1 kB / 1.077 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/1.137, allocations: 167.4 kB / 1.078 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.138, allocations: 236.3 kB / 1.078 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.139, allocations: 176.6 kB / 1.078 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.139, allocations: 0 / 1.078 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.007845/1.147, allocations: 0.7106 MB / 1.079 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.147, allocations: 9.469 kB / 1.079 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.147, allocations: 3.219 kB / 1.079 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/1.149, allocations: 175.1 kB / 1.079 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.15, allocations: 60.92 kB / 1.079 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/1.164, allocations: 2.104 MB / 1.081 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.165, allocations: 44.91 kB / 1.081 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/1.165, allocations: 25.45 kB / 1.081 GB, free: 12.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006085/1.166, allocations: 301 kB / 1.081 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.166, allocations: 81.8 kB / 1.081 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008675/1.175, allocations: 0.7453 MB / 1.082 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/1.175, allocations: 3.688 kB / 1.082 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.175, allocations: 4.859 kB / 1.082 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/1.175, allocations: 0 / 1.082 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.176, allocations: 0.5836 MB / 1.083 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.433e-06/1.176, allocations: 3.406 kB / 1.083 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/1.177, allocations: 44.94 kB / 1.083 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002715/1.18, allocations: 176.4 kB / 1.083 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-05/1.18, allocations: 17.84 kB / 1.083 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/1.194, allocations: 2.09 MB / 1.085 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.194, allocations: 3.938 kB / 1.085 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008197/1.203, allocations: 0.7482 MB / 1.086 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/1.203, allocations: 149.8 kB / 1.086 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/1.203, allocations: 15.33 kB / 1.086 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008447/1.204, allocations: 33.81 kB / 1.086 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.204, allocations: 22.5 kB / 1.086 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/1.204, allocations: 16.2 kB / 1.086 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001714/1.206, allocations: 1.008 MB / 1.087 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.81e-07/1.206, allocations: 0 / 1.087 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008556/1.207, allocations: 111 kB / 1.087 GB, free: 9.809 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/1.208, allocations: 0.4964 MB / 1.088 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003087/1.211, allocations: 0.5451 MB / 1.088 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.211, allocations: 0 / 1.088 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.213, allocations: 367.4 kB / 1.088 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.214, allocations: 123.7 kB / 1.089 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/1.219, allocations: 1.713 MB / 1.09 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/1.22, allocations: 0.9691 MB / 1.091 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006808/1.22, allocations: 84.31 kB / 1.091 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/1.221, allocations: 44.22 kB / 1.091 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of SimCode: time 1.193e-06/1.221, allocations: 0 / 1.091 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.02718/1.248, allocations: 9.501 MB / 1.101 GB, free: 2.613 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)