Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006917/0.006917, allocations: 102.2 kB / 15.73 MB, free: 6.5 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.002056/0.002056, allocations: 196.8 kB / 16.68 MB, free: 6.375 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.277/2.277, allocations: 437.1 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2469, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002957/0.2499, allocations: 2.196 MB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6037/0.8536, allocations: 150.5 MB / 1.315 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.8538, allocations: 6.219 kB / 1.315 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009169/0.8548, allocations: 0.7774 MB / 1.316 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.8555, allocations: 491.9 kB / 1.317 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.8566, allocations: 405.5 kB / 1.317 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.8573, allocations: 0.5671 MB / 1.317 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.8575, allocations: 80.83 kB / 1.318 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.8587, allocations: 360.7 kB / 1.318 GB, free: 11.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.8593, allocations: 479.1 kB / 1.318 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.8594, allocations: 27.25 kB / 1.318 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000592/0.86, allocations: 304.4 kB / 1.319 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.8601, allocations: 184.7 kB / 1.319 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.8603, allocations: 261.2 kB / 1.319 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000821/0.8612, allocations: 0.7419 MB / 1.32 GB, free: 11.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8612, allocations: 0 / 1.32 GB, free: 11.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8612, allocations: 1.25 kB / 1.32 GB, free: 11.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.8612, allocations: 4 kB / 1.32 GB, free: 11.39 MB / 1.014 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.001424/0.8626, allocations: 1.104 MB / 1.321 GB, free: 10.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.8627, allocations: 10.16 kB / 1.321 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.8627, allocations: 58.39 kB / 1.321 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.864, allocations: 199 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.8645, allocations: 0.4924 MB / 1.322 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.8646, allocations: 12.23 kB / 1.322 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.8646, allocations: 24.73 kB / 1.322 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.8654, allocations: 334.4 kB / 1.322 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8654, allocations: 1.125 kB / 1.322 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.8655, allocations: 5.281 kB / 1.322 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.8655, allocations: 4.562 kB / 1.322 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.8666, allocations: 344.3 kB / 1.322 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.8683, allocations: 1.117 MB / 1.323 GB, free: 9.617 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/0.8693, allocations: 404.7 kB / 1.324 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.8699, allocations: 206.8 kB / 1.324 GB, free: 9.539 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.8699, allocations: 7.188 kB / 1.324 GB, free: 9.539 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007325/0.8707, allocations: 317.5 kB / 1.324 GB, free: 9.453 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.332e-06/0.8707, allocations: 0 / 1.324 GB, free: 9.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.007547/0.8782, allocations: 1.222 MB / 1.326 GB, free: 9.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.8783, allocations: 86.44 kB / 1.326 GB, free: 8.961 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.8794, allocations: 1.344 MB / 1.327 GB, free: 8.516 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.8795, allocations: 32.11 kB / 1.327 GB, free: 8.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.8798, allocations: 362.9 kB / 1.327 GB, free: 8.191 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.8799, allocations: 104.2 kB / 1.327 GB, free: 8.113 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.88, allocations: 68.73 kB / 1.327 GB, free: 8.078 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8801, allocations: 321.2 kB / 1.328 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/0.8807, allocations: 174.9 kB / 1.328 GB, free: 7.711 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.8813, allocations: 231.7 kB / 1.328 GB, free: 7.594 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.8825, allocations: 399.5 kB / 1.329 GB, free: 7.418 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8825, allocations: 1.125 kB / 1.329 GB, free: 7.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003419/0.8859, allocations: 0.7194 MB / 1.329 GB, free: 7.176 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.8859, allocations: 4.844 kB / 1.329 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.886, allocations: 6.5 kB / 1.329 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009031/0.8869, allocations: 177.4 kB / 1.329 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.8872, allocations: 64.98 kB / 1.329 GB, free: 7.129 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.8938, allocations: 2.302 MB / 1.332 GB, free: 5.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.8942, allocations: 44.48 kB / 1.332 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.8943, allocations: 24.92 kB / 1.332 GB, free: 5.523 MB / 1.014 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 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * 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.0002834/0.8946, allocations: 290.5 kB / 1.332 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.8947, allocations: 88.16 kB / 1.332 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.8982, allocations: 0.748 MB / 1.333 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.8982, allocations: 4.375 kB / 1.333 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.8982, allocations: 0 / 1.333 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8983, allocations: 3.688 kB / 1.333 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.8988, allocations: 0.5767 MB / 1.333 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8988, allocations: 0.8125 kB / 1.333 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.8991, allocations: 53.36 kB / 1.334 GB, free: 4.734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008299/0.8999, allocations: 173.7 kB / 1.334 GB, free: 4.703 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.9, allocations: 14.11 kB / 1.334 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006605/0.9066, allocations: 2.293 MB / 1.336 GB, free: 3.129 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9066, allocations: 8 kB / 1.336 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.91, allocations: 0.7651 MB / 1.337 GB, free: 2.836 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.9101, allocations: 147.1 kB / 1.337 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.9102, allocations: 14.62 kB / 1.337 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.9106, allocations: 28.14 kB / 1.337 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.9107, allocations: 21.94 kB / 1.337 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.9107, allocations: 20.25 kB / 1.337 GB, free: 2.668 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000864/0.9116, allocations: 1.003 MB / 1.338 GB, free: 2.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9116, allocations: 1.281 kB / 1.338 GB, free: 2.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003933/0.912, allocations: 111.4 kB / 1.338 GB, free: 2.305 MB / 1.014 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.005023/0.917, allocations: 1.64 MB / 1.34 GB, free: 1.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.9185, allocations: 0.5515 MB / 1.34 GB, free: 1.141 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9185, allocations: 0 / 1.34 GB, free: 1.141 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.9193, allocations: 360.5 kB / 1.34 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.9199, allocations: 132.4 kB / 1.341 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.9321, allocations: 6.345 MB / 1.347 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.9326, allocations: 0.9697 MB / 1.348 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.9329, allocations: 89.05 kB / 1.348 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.9332, allocations: 267 kB / 1.348 GB, free: 13.17 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.9332, allocations: 4 kB / 1.348 GB, free: 13.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.095/3.028, allocations: 17.96 MB / 1.366 GB, free: 4.574 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/21.32, allocations: 23.47 kB / 1.366 GB, free: 4.559 MB / 1.029 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches