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.007155/0.007155, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00183/0.00183, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.776/2.776, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3017, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003799/0.3056, allocations: 2.2 MB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.758/1.064, allocations: 150.5 MB / 1.315 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/1.064, allocations: 10.97 kB / 1.315 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/1.065, allocations: 0.7765 MB / 1.316 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/1.066, allocations: 491.1 kB / 1.317 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/1.068, allocations: 405 kB / 1.317 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001045/1.069, allocations: 0.566 MB / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/1.069, allocations: 88.72 kB / 1.318 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/1.071, allocations: 364.7 kB / 1.318 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/1.071, allocations: 480.3 kB / 1.318 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.179e-05/1.071, allocations: 23.75 kB / 1.318 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/1.072, allocations: 296.6 kB / 1.319 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/1.072, allocations: 189.5 kB / 1.319 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003129/1.073, allocations: 262.5 kB / 1.319 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/1.074, allocations: 0.7393 MB / 1.32 GB, free: 11.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.074, allocations: 5 kB / 1.32 GB, free: 11.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/1.074, allocations: 0 / 1.32 GB, free: 11.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.517e-05/1.074, allocations: 0 / 1.32 GB, free: 11.41 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.00228/1.076, allocations: 1.104 MB / 1.321 GB, free: 10.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.076, allocations: 13.16 kB / 1.321 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.555e-05/1.076, allocations: 52.73 kB / 1.321 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/1.078, allocations: 196.4 kB / 1.321 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/1.079, allocations: 0.4959 MB / 1.322 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/1.079, allocations: 16.02 kB / 1.322 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/1.079, allocations: 19.22 kB / 1.322 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.08, allocations: 331.8 kB / 1.322 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/1.08, allocations: 0 / 1.322 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/1.08, allocations: 18.27 kB / 1.322 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/1.08, allocations: 4.188 kB / 1.322 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/1.082, allocations: 335.8 kB / 1.322 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/1.084, allocations: 1.121 MB / 1.323 GB, free: 9.637 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/1.085, allocations: 399.1 kB / 1.324 GB, free: 9.578 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/1.086, allocations: 205.8 kB / 1.324 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/1.086, allocations: 6.359 kB / 1.324 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008607/1.087, allocations: 321.4 kB / 1.324 GB, free: 9.477 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/1.087, allocations: 0 / 1.324 GB, free: 9.477 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.009095/1.096, allocations: 1.219 MB / 1.325 GB, free: 9.098 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/1.096, allocations: 88.73 kB / 1.326 GB, free: 8.996 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/1.098, allocations: 1.346 MB / 1.327 GB, free: 8.551 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/1.098, allocations: 31.92 kB / 1.327 GB, free: 8.516 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/1.099, allocations: 366.1 kB / 1.327 GB, free: 8.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/1.099, allocations: 108.6 kB / 1.327 GB, free: 8.141 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/1.099, allocations: 64.23 kB / 1.327 GB, free: 8.109 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.099, allocations: 321.2 kB / 1.328 GB, free: 7.797 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/1.1, allocations: 174.3 kB / 1.328 GB, free: 7.742 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/1.101, allocations: 233.3 kB / 1.328 GB, free: 7.625 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/1.102, allocations: 399.8 kB / 1.329 GB, free: 7.449 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.102, allocations: 2.312 kB / 1.329 GB, free: 7.449 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004634/1.107, allocations: 0.7149 MB / 1.329 GB, free: 7.207 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.107, allocations: 5.844 kB / 1.329 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.107, allocations: 1.25 kB / 1.329 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/1.108, allocations: 181.5 kB / 1.329 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/1.109, allocations: 62.3 kB / 1.329 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/1.116, allocations: 2.306 MB / 1.332 GB, free: 5.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/1.117, allocations: 43.55 kB / 1.332 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.562e-05/1.117, allocations: 20.61 kB / 1.332 GB, free: 5.562 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.0005757/1.118, allocations: 293.7 kB / 1.332 GB, free: 5.402 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.118, allocations: 90.16 kB / 1.332 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/1.122, allocations: 0.746 MB / 1.333 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.122, allocations: 3.531 kB / 1.333 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.122, allocations: 4 kB / 1.333 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.122, allocations: 3.25 kB / 1.333 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009713/1.123, allocations: 0.5763 MB / 1.333 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.123, allocations: 320 / 1.333 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/1.124, allocations: 50.17 kB / 1.333 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000991/1.125, allocations: 180.7 kB / 1.334 GB, free: 4.734 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/1.125, allocations: 13.88 kB / 1.334 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00787/1.133, allocations: 2.298 MB / 1.336 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.133, allocations: 4.969 kB / 1.336 GB, free: 3.148 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/1.137, allocations: 0.7609 MB / 1.337 GB, free: 2.867 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/1.137, allocations: 148.5 kB / 1.337 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/1.138, allocations: 11.22 kB / 1.337 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/1.138, allocations: 29.22 kB / 1.337 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/1.138, allocations: 24.19 kB / 1.337 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/1.138, allocations: 18.53 kB / 1.337 GB, free: 2.699 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001364/1.14, allocations: 1.003 MB / 1.338 GB, free: 2.355 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.14, allocations: 0 / 1.338 GB, free: 2.355 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007128/1.14, allocations: 109.2 kB / 1.338 GB, free: 2.34 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.005921/1.146, allocations: 1.646 MB / 1.34 GB, free: 1.41 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001885/1.148, allocations: 0.5564 MB / 1.34 GB, free: 1.164 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.148, allocations: 0 / 1.34 GB, free: 1.164 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009866/1.149, allocations: 357.5 kB / 1.34 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/1.15, allocations: 124.3 kB / 1.341 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.166, allocations: 6.341 MB / 1.347 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/1.167, allocations: 0.9695 MB / 1.348 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003843/1.167, allocations: 88.77 kB / 1.348 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.168, allocations: 266.2 kB / 1.348 GB, free: 13.2 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.168, allocations: 0 / 1.348 GB, free: 13.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05042/1.218, allocations: 17.98 MB / 1.366 GB, free: 4.582 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.84, allocations: 2.844 kB / 1.366 GB, free: 4.582 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 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.csv","/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