Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.005288/0.005288, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001297/0.001297, allocations: 188.9 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.227/1.227, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.491/2.491, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2443, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.903/3.147, allocations: 1.369 GB / 2.577 GB, free: 91.43 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.2774/3.425, allocations: 333.9 MB / 2.903 GB, free: 33.49 MB / 1.732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03775/3.462, allocations: 1.218 MB / 2.904 GB, free: 32.73 MB / 1.732 GB Notification: Performance of NFTyping.typeComponents: time 0.02941/3.492, allocations: 13.26 MB / 2.917 GB, free: 21.08 MB / 1.732 GB Notification: Performance of NFTyping.typeBindings: time 0.07242/3.564, allocations: 32.24 MB / 2.948 GB, free: 9.375 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.04082/3.605, allocations: 19.81 MB / 2.968 GB, free: 7.625 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 0.06336/3.669, allocations: 58.22 MB / 3.025 GB, free: 14.95 MB / 1.826 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03435/3.703, allocations: 23.36 MB / 3.047 GB, free: 7.703 MB / 1.842 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04721/3.75, allocations: 25.01 MB / 3.072 GB, free: 124 kB / 1.857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02888/3.779, allocations: 17.75 MB / 3.089 GB, free: 15.53 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.006713/3.786, allocations: 2.129 MB / 3.091 GB, free: 13.4 MB / 1.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03735/3.823, allocations: 17.97 MB / 3.109 GB, free: 12.14 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.007136/3.83, allocations: 4.881 MB / 3.114 GB, free: 7.316 MB / 1.904 GB Notification: Performance of NFVerifyModel.verify: time 0.01856/3.849, allocations: 11.18 MB / 3.124 GB, free: 12.15 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.06065/3.91, allocations: 40.95 MB / 3.164 GB, free: 4.496 MB / 1.951 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/3.91, allocations: 4 kB / 3.164 GB, free: 4.492 MB / 1.951 GB Notification: Performance of FrontEnd: time 1.533e-06/3.91, allocations: 0 / 3.164 GB, free: 4.492 MB / 1.951 GB Notification: Performance of Transformations before backend: time 0.0008636/3.911, allocations: 0 / 3.164 GB, free: 4.492 MB / 1.951 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.04053/3.951, allocations: 20.92 MB / 3.185 GB, free: 15.64 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/3.951, allocations: 8.625 kB / 3.185 GB, free: 15.64 MB / 1.982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003966/3.955, allocations: 1.633 MB / 3.186 GB, free: 14 MB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007531/3.963, allocations: 2.256 MB / 3.189 GB, free: 11.71 MB / 1.982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03287/3.996, allocations: 18.88 MB / 3.207 GB, free: 9.121 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007739/3.996, allocations: 0.9763 MB / 3.208 GB, free: 8.145 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002989/3.999, allocations: 1.289 MB / 3.209 GB, free: 6.855 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02901/4.028, allocations: 14.61 MB / 3.224 GB, free: 7.484 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003984/4.029, allocations: 47.62 kB / 3.224 GB, free: 7.438 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002289/4.031, allocations: 0.5344 MB / 3.224 GB, free: 6.906 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002819/4.032, allocations: 351.9 kB / 3.225 GB, free: 6.562 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/4.05, allocations: 10.09 MB / 3.234 GB, free: 12.47 MB / 2.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5646/4.614, allocations: 76.48 MB / 3.309 GB, free: 0.9455 GB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/4.621, allocations: 4.557 MB / 3.314 GB, free: 0.9434 GB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002797/4.623, allocations: 2.433 MB / 3.316 GB, free: 0.9423 GB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0743/4.698, allocations: 51.66 MB / 3.366 GB, free: 0.905 GB / 2.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/4.698, allocations: 125.8 kB / 3.366 GB, free: 0.9049 GB / 2.029 GB Notification: Performance of pre-optimization done (n=412): time 7.134e-06/4.698, allocations: 1.094 kB / 3.366 GB, free: 0.9049 GB / 2.029 GB Notification: Performance of matching and sorting (n=412): time 0.01495/4.713, allocations: 6.999 MB / 3.373 GB, free: 0.9021 GB / 2.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/4.713, allocations: 0.7975 MB / 3.374 GB, free: 0.9012 GB / 2.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02178/4.735, allocations: 16.68 MB / 3.39 GB, free: 0.8929 GB / 2.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0009601/4.736, allocations: 140.5 kB / 3.39 GB, free: 0.8928 GB / 2.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.005154/4.741, allocations: 8.567 MB / 3.399 GB, free: 0.8855 GB / 2.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/4.742, allocations: 1.46 MB / 3.4 GB, free: 0.8843 GB / 2.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/4.744, allocations: 1.491 MB / 3.402 GB, free: 0.8835 GB / 2.029 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/4.744, allocations: 304.7 kB / 3.402 GB, free: 0.8832 GB / 2.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/4.747, allocations: 2.08 MB / 3.404 GB, free: 0.8822 GB / 2.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/4.751, allocations: 5.283 MB / 3.409 GB, free: 0.8773 GB / 2.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/4.757, allocations: 7.137 MB / 3.416 GB, free: 0.8717 GB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.328e-05/4.757, allocations: 23.62 kB / 3.416 GB, free: 0.8717 GB / 2.029 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01249/4.769, allocations: 8.359 MB / 3.424 GB, free: 0.8677 GB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/4.769, allocations: 43.31 kB / 3.424 GB, free: 0.8677 GB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/4.769, allocations: 82.78 kB / 3.424 GB, free: 0.8677 GB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.501e-05/4.769, allocations: 118.8 kB / 3.425 GB, free: 0.8677 GB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/4.773, allocations: 1.459 MB / 3.426 GB, free: 0.8674 GB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/4.773, allocations: 177.7 kB / 3.426 GB, free: 0.8673 GB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009315/4.782, allocations: 1.315 MB / 3.427 GB, free: 0.8664 GB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007682/4.783, allocations: 392.9 kB / 3.428 GB, free: 0.8663 GB / 2.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (847): * Single equations (assignments): 847 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005832/4.789, allocations: 3.578 MB / 3.431 GB, free: 0.8641 GB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003952/4.793, allocations: 1.66 MB / 3.433 GB, free: 0.8632 GB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/4.803, allocations: 7.546 MB / 3.44 GB, free: 0.8593 GB / 2.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.46e-05/4.803, allocations: 81.73 kB / 3.44 GB, free: 0.8593 GB / 2.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/4.803, allocations: 6.438 kB / 3.44 GB, free: 0.8593 GB / 2.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003109/4.806, allocations: 3.847 MB / 3.444 GB, free: 0.8564 GB / 2.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03464/4.841, allocations: 28.78 MB / 3.472 GB, free: 0.8374 GB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/4.841, allocations: 33.91 kB / 3.472 GB, free: 0.8374 GB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/4.843, allocations: 0.7756 MB / 3.473 GB, free: 0.8368 GB / 2.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.153e-05/4.843, allocations: 53.94 kB / 3.473 GB, free: 0.8367 GB / 2.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/4.843, allocations: 152 kB / 3.473 GB, free: 0.8366 GB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.398e-05/4.843, allocations: 75.72 kB / 3.473 GB, free: 0.8365 GB / 2.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.63e-05/4.843, allocations: 47.81 kB / 3.473 GB, free: 0.8365 GB / 2.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/4.855, allocations: 11.95 MB / 3.485 GB, free: 0.8242 GB / 2.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006043/4.861, allocations: 2.848 MB / 3.488 GB, free: 0.8214 GB / 2.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002789/4.864, allocations: 151.7 kB / 3.488 GB, free: 0.8213 GB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006104/4.87, allocations: 259.1 kB / 3.488 GB, free: 0.821 GB / 2.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/4.87, allocations: 406.6 kB / 3.489 GB, free: 0.8206 GB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003736/4.871, allocations: 255.9 kB / 3.489 GB, free: 0.8204 GB / 2.029 GB Notification: Performance of sorting global known variables: time 0.01469/4.885, allocations: 11.86 MB / 3.5 GB, free: 0.8089 GB / 2.029 GB Notification: Performance of sort global known variables: time 1.9e-07/4.885, allocations: 0 / 3.5 GB, free: 0.8089 GB / 2.029 GB Notification: Performance of remove unused functions: time 0.01418/4.9, allocations: 5.354 MB / 3.506 GB, free: 0.8039 GB / 2.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0193/4.919, allocations: 16.8 MB / 3.522 GB, free: 0.7874 GB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.007153/4.926, allocations: 5.659 MB / 3.528 GB, free: 0.7819 GB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 2.674e-05/4.926, allocations: 11.38 kB / 3.528 GB, free: 0.7819 GB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002797/4.929, allocations: 2.584 MB / 3.53 GB, free: 0.7794 GB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04199/4.971, allocations: 10.01 MB / 3.54 GB, free: 0.7703 GB / 2.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1537/5.125, allocations: 118 MB / 3.655 GB, free: 0.6506 GB / 2.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006366/5.131, allocations: 7.79 MB / 3.663 GB, free: 0.6429 GB / 2.029 GB Notification: Performance of simCode: alias equations: time 0.01025/5.141, allocations: 3.239 MB / 3.666 GB, free: 0.6399 GB / 2.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007752/5.149, allocations: 8.064 MB / 3.674 GB, free: 0.6321 GB / 2.029 GB Notification: Performance of SimCode: time 8.91e-07/5.149, allocations: 0 / 3.674 GB, free: 0.6321 GB / 2.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.662/9.811, allocations: 0.4945 GB / 4.168 GB, free: 142.7 MB / 2.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 70.14/79.95, allocations: 11.94 kB / 4.168 GB, free: 142.7 MB / 2.029 GB (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches