Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 215.6 kB / 22.25 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 67.17 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3758, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003929/0.3797, allocations: 2.253 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1911/0.5709, allocations: 154 MB / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.5712, allocations: 11.88 kB / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.5723, allocations: 0.7717 MB / 1.479 GB, free: 4.355 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008931/0.5731, allocations: 0.5258 MB / 1.48 GB, free: 3.828 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.574, allocations: 346.7 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/0.5747, allocations: 0.5849 MB / 1.481 GB, free: 2.898 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.5749, allocations: 60.88 kB / 1.481 GB, free: 2.84 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.5763, allocations: 387.7 kB / 1.481 GB, free: 2.473 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.577, allocations: 0.5308 MB / 1.482 GB, free: 1.941 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.577, allocations: 24 kB / 1.482 GB, free: 1.918 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/0.5777, allocations: 311.5 kB / 1.482 GB, free: 1.613 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.578, allocations: 195.6 kB / 1.482 GB, free: 1.422 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.5782, allocations: 261.9 kB / 1.482 GB, free: 1.164 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.5794, allocations: 0.7622 MB / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5794, allocations: 0 / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5794, allocations: 0 / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.5794, allocations: 0 / 1.483 GB, free: 408 kB / 1.17 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.001926/0.5813, allocations: 1.047 MB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5814, allocations: 12.02 kB / 1.484 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.5814, allocations: 50.55 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.5832, allocations: 215.2 kB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.5839, allocations: 448.3 kB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.5839, allocations: 12.38 kB / 1.485 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.584, allocations: 23.98 kB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/0.5849, allocations: 334.9 kB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.585, allocations: 0 / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.585, allocations: 8 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.585, allocations: 4 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.5863, allocations: 344.6 kB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.5887, allocations: 1.088 MB / 1.487 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.5899, allocations: 377.3 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.5906, allocations: 197.5 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-05/0.5907, allocations: 15.8 kB / 1.487 GB, free: 12.1 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009599/0.5916, allocations: 300.8 kB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.5916, allocations: 0 / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009431/0.6011, allocations: 1.147 MB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.6011, allocations: 77.11 kB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.6029, allocations: 1.361 MB / 1.49 GB, free: 9.168 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.603, allocations: 49.62 kB / 1.49 GB, free: 9.113 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.6033, allocations: 372.5 kB / 1.49 GB, free: 8.746 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.6035, allocations: 99.17 kB / 1.49 GB, free: 8.648 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.6036, allocations: 69.66 kB / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002625/0.6039, allocations: 321.9 kB / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006674/0.6046, allocations: 175.7 kB / 1.491 GB, free: 8.082 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.6053, allocations: 225.9 kB / 1.491 GB, free: 7.84 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.6066, allocations: 394.5 kB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6066, allocations: 4 kB / 1.492 GB, free: 7.438 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004126/0.6107, allocations: 0.718 MB / 1.492 GB, free: 6.711 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6108, allocations: 9.625 kB / 1.492 GB, free: 6.703 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6108, allocations: 4 kB / 1.492 GB, free: 6.699 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.612, allocations: 172.6 kB / 1.492 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.6124, allocations: 63.91 kB / 1.492 GB, free: 6.465 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008407/0.6208, allocations: 2.199 MB / 1.495 GB, free: 4.148 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/0.6215, allocations: 43.95 kB / 1.495 GB, free: 4.105 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.6215, allocations: 15.98 kB / 1.495 GB, free: 4.09 MB / 1.186 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.000689/0.6222, allocations: 290.7 kB / 1.495 GB, free: 3.797 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6224, allocations: 99.31 kB / 1.495 GB, free: 3.699 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/0.6269, allocations: 0.8132 MB / 1.496 GB, free: 2.871 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.6269, allocations: 7.938 kB / 1.496 GB, free: 2.863 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.6269, allocations: 0 / 1.496 GB, free: 2.863 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6269, allocations: 3.984 kB / 1.496 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.6279, allocations: 0.5612 MB / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.628, allocations: 0 / 1.496 GB, free: 2.254 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.6283, allocations: 47.91 kB / 1.496 GB, free: 2.207 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009764/0.6292, allocations: 176.7 kB / 1.497 GB, free: 2.031 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.6293, allocations: 20.09 kB / 1.497 GB, free: 2.012 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00842/0.6377, allocations: 2.184 MB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.6377, allocations: 0 / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.642, allocations: 0.7632 MB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.6423, allocations: 83.31 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6424, allocations: 15.92 kB / 1.5 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.643, allocations: 23.98 kB / 1.5 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.6432, allocations: 27.95 kB / 1.5 GB, free: 14.78 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/0.6432, allocations: 15.97 kB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001783/0.645, allocations: 1.018 MB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.1e-07/0.645, allocations: 0 / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008312/0.6459, allocations: 111.9 kB / 1.501 GB, free: 13.64 MB / 1.201 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * 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.008129/0.654, allocations: 1.642 MB / 1.502 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.6559, allocations: 0.5296 MB / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6559, allocations: 0 / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6569, allocations: 342.4 kB / 1.503 GB, free: 11.23 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.6576, allocations: 128.6 kB / 1.503 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.6735, allocations: 6.393 MB / 1.51 GB, free: 4.543 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.6743, allocations: 0.9769 MB / 1.511 GB, free: 3.539 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003368/0.6747, allocations: 86.91 kB / 1.511 GB, free: 3.457 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.675, allocations: 271.3 kB / 1.511 GB, free: 3.191 MB / 1.201 GB Notification: Performance of SimCode: time 1.533e-06/0.6751, allocations: 0 / 1.511 GB, free: 3.191 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.7339, allocations: 18.54 MB / 1.529 GB, free: 0.793 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.7, allocations: 8.047 kB / 1.529 GB, free: 0.7852 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.73341791400162]