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.005186/0.005191, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.00117/0.00117, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.632/2.632, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 1.018 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7512, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00379/0.755, allocations: 2.206 MB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.9249, allocations: 150.6 MB / 1.315 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.9251, allocations: 3.938 kB / 1.315 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009486/0.9261, allocations: 0.7756 MB / 1.316 GB, free: 9.668 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.927, allocations: 0.4947 MB / 1.317 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.9281, allocations: 393.4 kB / 1.317 GB, free: 8.789 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.9288, allocations: 0.5694 MB / 1.317 GB, free: 8.215 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.929, allocations: 80.7 kB / 1.318 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.9301, allocations: 370.9 kB / 1.318 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.9307, allocations: 491.7 kB / 1.318 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.9308, allocations: 20 kB / 1.318 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.9313, allocations: 295.6 kB / 1.319 GB, free: 7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.9315, allocations: 191.6 kB / 1.319 GB, free: 6.812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.9318, allocations: 258 kB / 1.319 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.9328, allocations: 0.7463 MB / 1.32 GB, free: 5.812 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.9328, allocations: 4 kB / 1.32 GB, free: 5.809 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9328, allocations: 0 / 1.32 GB, free: 5.809 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.9328, allocations: 0 / 1.32 GB, free: 5.809 MB / 1.045 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.001807/0.9346, allocations: 1.107 MB / 1.321 GB, free: 4.648 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.9347, allocations: 12.92 kB / 1.321 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.9348, allocations: 54.55 kB / 1.321 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.9363, allocations: 195.3 kB / 1.321 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.937, allocations: 0.4917 MB / 1.322 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.937, allocations: 12.38 kB / 1.322 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.9371, allocations: 20 kB / 1.322 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/0.938, allocations: 330.9 kB / 1.322 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.9381, allocations: 7.938 kB / 1.322 GB, free: 3.469 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.9381, allocations: 15.98 kB / 1.322 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.9381, allocations: 4 kB / 1.322 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.9394, allocations: 332.7 kB / 1.322 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.9416, allocations: 1.116 MB / 1.323 GB, free: 1.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.9427, allocations: 397.4 kB / 1.324 GB, free: 1.547 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/0.9434, allocations: 213.6 kB / 1.324 GB, free: 1.332 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.9434, allocations: 11.92 kB / 1.324 GB, free: 1.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/0.9442, allocations: 316.7 kB / 1.324 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.9443, allocations: 0 / 1.324 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.008663/0.9529, allocations: 1.223 MB / 1.326 GB, free: 15.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.953, allocations: 89.09 kB / 1.326 GB, free: 15.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.9543, allocations: 1.341 MB / 1.327 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.9544, allocations: 33.7 kB / 1.327 GB, free: 14.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.9547, allocations: 368.5 kB / 1.327 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.644e-05/0.9548, allocations: 103.1 kB / 1.327 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.9549, allocations: 73.53 kB / 1.327 GB, free: 13.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.955, allocations: 321.9 kB / 1.328 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.9557, allocations: 167.9 kB / 1.328 GB, free: 13.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/0.9564, allocations: 231 kB / 1.328 GB, free: 12.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.9577, allocations: 402.8 kB / 1.329 GB, free: 12.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9577, allocations: 0 / 1.329 GB, free: 12.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004005/0.9617, allocations: 0.7122 MB / 1.329 GB, free: 11.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9618, allocations: 4 kB / 1.329 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.9618, allocations: 3.984 kB / 1.329 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.9629, allocations: 176.7 kB / 1.329 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.9632, allocations: 63.89 kB / 1.329 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007803/0.971, allocations: 2.31 MB / 1.332 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.9716, allocations: 39.81 kB / 1.332 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.9717, allocations: 19.97 kB / 1.332 GB, free: 9.094 MB / 1.061 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.0003918/0.9721, allocations: 294.3 kB / 1.332 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.9722, allocations: 87.38 kB / 1.332 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.9763, allocations: 0.7467 MB / 1.333 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.9763, allocations: 4.312 kB / 1.333 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.9763, allocations: 3.984 kB / 1.333 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9763, allocations: 3.938 kB / 1.333 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.977, allocations: 0.5703 MB / 1.333 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.9771, allocations: 7.969 kB / 1.333 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.9774, allocations: 51.91 kB / 1.333 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.9784, allocations: 176.7 kB / 1.334 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.9784, allocations: 19.91 kB / 1.334 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007719/0.9862, allocations: 2.291 MB / 1.336 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9862, allocations: 0 / 1.336 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/0.9903, allocations: 0.763 MB / 1.337 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.9904, allocations: 148.5 kB / 1.337 GB, free: 3.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/0.9905, allocations: 15.92 kB / 1.337 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.991, allocations: 19.98 kB / 1.337 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.9911, allocations: 23.97 kB / 1.337 GB, free: 3.621 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.9911, allocations: 19.97 kB / 1.337 GB, free: 3.602 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001014/0.9921, allocations: 1.003 MB / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9922, allocations: 0 / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005185/0.9927, allocations: 115.9 kB / 1.338 GB, free: 2.488 MB / 1.061 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.00525/0.9979, allocations: 1.646 MB / 1.34 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.9997, allocations: 0.5553 MB / 1.34 GB, free: 412 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9998, allocations: 0 / 1.34 GB, free: 412 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009691/1.001, allocations: 362.7 kB / 1.34 GB, free: 36 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/1.001, allocations: 125.6 kB / 1.341 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.016, allocations: 6.341 MB / 1.347 GB, free: 9.414 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/1.017, allocations: 0.9723 MB / 1.348 GB, free: 8.414 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003326/1.017, allocations: 78.88 kB / 1.348 GB, free: 8.336 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/1.017, allocations: 267.3 kB / 1.348 GB, free: 8.074 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/1.017, allocations: 0 / 1.348 GB, free: 8.074 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/1.059, allocations: 17.98 MB / 1.366 GB, free: 6.219 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14, allocations: 6.328 kB / 1.366 GB, free: 6.215 MB / 1.092 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