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.001305/0.001305, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001497/0.001497, allocations: 215.3 kB / 22.25 MB, free: 5.102 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.793 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.198/3.198, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.002082/0.002082, allocations: 66.08 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3482, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003861/0.3521, allocations: 2.15 MB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1664/0.5185, allocations: 132.4 MB / 1.457 GB, free: 10.49 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.5187, allocations: 7.938 kB / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.5197, allocations: 0.7795 MB / 1.458 GB, free: 9.703 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008873/0.5206, allocations: 0.5297 MB / 1.458 GB, free: 9.172 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009273/0.5215, allocations: 338.8 kB / 1.459 GB, free: 8.84 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.5223, allocations: 0.5887 MB / 1.459 GB, free: 8.246 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.5224, allocations: 56.89 kB / 1.459 GB, free: 8.191 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.5237, allocations: 371.8 kB / 1.46 GB, free: 7.84 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006738/0.5244, allocations: 0.5308 MB / 1.46 GB, free: 7.309 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.5244, allocations: 24 kB / 1.46 GB, free: 7.285 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.5251, allocations: 295.6 kB / 1.461 GB, free: 6.996 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.5253, allocations: 195.6 kB / 1.461 GB, free: 6.805 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.5255, allocations: 198.4 kB / 1.461 GB, free: 6.609 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.5266, allocations: 0.77 MB / 1.462 GB, free: 5.836 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5266, allocations: 0 / 1.462 GB, free: 5.836 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5266, allocations: 0 / 1.462 GB, free: 5.836 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.5266, allocations: 0 / 1.462 GB, free: 5.836 MB / 1.154 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.001934/0.5285, allocations: 1.043 MB / 1.463 GB, free: 4.758 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5286, allocations: 12.03 kB / 1.463 GB, free: 4.746 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.236e-05/0.5286, allocations: 50.55 kB / 1.463 GB, free: 4.688 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.5306, allocations: 219.2 kB / 1.463 GB, free: 4.473 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.5313, allocations: 429.3 kB / 1.463 GB, free: 4.023 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.5313, allocations: 24.31 kB / 1.463 GB, free: 4 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.5314, allocations: 24 kB / 1.463 GB, free: 3.977 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.5324, allocations: 342.8 kB / 1.464 GB, free: 3.629 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5324, allocations: 0 / 1.464 GB, free: 3.629 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.5325, allocations: 15.94 kB / 1.464 GB, free: 3.613 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.5325, allocations: 4 kB / 1.464 GB, free: 3.609 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.534, allocations: 356.6 kB / 1.464 GB, free: 3.262 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.5364, allocations: 1.045 MB / 1.465 GB, free: 2.168 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.5377, allocations: 403.5 kB / 1.466 GB, free: 1.758 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007731/0.5385, allocations: 201.4 kB / 1.466 GB, free: 1.555 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5385, allocations: 3.938 kB / 1.466 GB, free: 1.551 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/0.5395, allocations: 312.8 kB / 1.466 GB, free: 1.227 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.5395, allocations: 0 / 1.466 GB, free: 1.227 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.01054/0.55, allocations: 1.172 MB / 1.467 GB, free: 48 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.5501, allocations: 85.05 kB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.5517, allocations: 1.388 MB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.5518, allocations: 29.7 kB / 1.469 GB, free: 14.51 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.5522, allocations: 376.5 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5523, allocations: 107.1 kB / 1.469 GB, free: 14.03 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.5524, allocations: 69.67 kB / 1.469 GB, free: 13.96 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5526, allocations: 317.9 kB / 1.469 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.5533, allocations: 187.7 kB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.5541, allocations: 281.2 kB / 1.47 GB, free: 13.15 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.5556, allocations: 406.7 kB / 1.47 GB, free: 12.74 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5556, allocations: 4 kB / 1.47 GB, free: 12.73 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004783/0.5604, allocations: 0.7317 MB / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5604, allocations: 8 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5605, allocations: 4.062 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.5617, allocations: 172.7 kB / 1.471 GB, free: 11.81 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.5621, allocations: 63.89 kB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009216/0.5713, allocations: 2.184 MB / 1.473 GB, free: 9.449 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.5719, allocations: 39.89 kB / 1.473 GB, free: 9.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.572, allocations: 11.98 kB / 1.473 GB, free: 9.398 MB / 1.17 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.0004042/0.5724, allocations: 304.6 kB / 1.474 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.5725, allocations: 95.39 kB / 1.474 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/0.5776, allocations: 0.853 MB / 1.475 GB, free: 8.133 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5776, allocations: 7.984 kB / 1.475 GB, free: 8.125 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5776, allocations: 4 kB / 1.475 GB, free: 8.121 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5776, allocations: 0 / 1.475 GB, free: 8.121 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/0.5783, allocations: 0.5261 MB / 1.475 GB, free: 7.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5783, allocations: 0 / 1.475 GB, free: 7.551 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.5787, allocations: 63.89 kB / 1.475 GB, free: 7.488 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.5798, allocations: 176.7 kB / 1.475 GB, free: 7.312 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.5799, allocations: 15.97 kB / 1.475 GB, free: 7.297 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008823/0.5887, allocations: 2.169 MB / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5887, allocations: 0 / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.5935, allocations: 0.811 MB / 1.478 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.5937, allocations: 87.3 kB / 1.478 GB, free: 4.09 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.5938, allocations: 7.938 kB / 1.478 GB, free: 4.082 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.5943, allocations: 31.97 kB / 1.478 GB, free: 4.051 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/0.5944, allocations: 27.95 kB / 1.479 GB, free: 4.023 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.5944, allocations: 15.98 kB / 1.479 GB, free: 4.008 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00116/0.5956, allocations: 1.042 MB / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5956, allocations: 0 / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005433/0.5961, allocations: 119.8 kB / 1.48 GB, free: 2.852 MB / 1.17 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 (38): * Single equations (assignments): 33 * 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.006804/0.6029, allocations: 1.705 MB / 1.481 GB, free: 1.301 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.6049, allocations: 0.5607 MB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6049, allocations: 0 / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.606, allocations: 366.5 kB / 1.482 GB, free: 364 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.6067, allocations: 128.4 kB / 1.482 GB, free: 240 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.6232, allocations: 6.473 MB / 1.489 GB, free: 9.582 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.6237, allocations: 380.2 kB / 1.489 GB, free: 9.188 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003409/0.624, allocations: 87.03 kB / 1.489 GB, free: 9.105 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.6244, allocations: 259.3 kB / 1.489 GB, free: 8.852 MB / 1.186 GB Notification: Performance of SimCode: time 7.51e-07/0.6244, allocations: 0 / 1.489 GB, free: 8.852 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.6774, allocations: 19.72 MB / 1.509 GB, free: 5.324 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.17, allocations: 8 kB / 1.509 GB, free: 5.316 MB / 1.201 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=400 --tolerance=1e-06 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.mat","/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: 20.956985184020596]