Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001173/0.001174, allocations: 196.6 kB / 16.14 MB, free: 6.645 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.076/2.076, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4798, allocations: 140.4 MB / 0.949 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.502/2.982, allocations: 1.34 GB / 2.289 GB, free: 74.64 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.2761/3.258, allocations: 331.2 MB / 2.612 GB, free: 35.16 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0338/3.292, allocations: 1.057 MB / 2.613 GB, free: 34.55 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.02775/3.32, allocations: 10.62 MB / 2.623 GB, free: 25 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.06833/3.388, allocations: 29.38 MB / 2.652 GB, free: 172 kB / 1.451 GB Notification: Performance of NFTyping.typeClassSections: time 0.0386/3.427, allocations: 17.2 MB / 2.669 GB, free: 0.7656 MB / 1.467 GB Notification: Performance of NFFlatten.flatten: time 0.06993/3.497, allocations: 74.41 MB / 2.742 GB, free: 7.871 MB / 1.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02609/3.523, allocations: 17.95 MB / 2.759 GB, free: 6.039 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04149/3.564, allocations: 20.78 MB / 2.779 GB, free: 2.266 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03139/3.596, allocations: 17.56 MB / 2.797 GB, free: 1.875 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.004762/3.601, allocations: 0.8789 MB / 2.797 GB, free: 0.9961 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03774/3.638, allocations: 15.83 MB / 2.813 GB, free: 1.879 MB / 1.607 GB Notification: Performance of NFScalarize.scalarize: time 0.00546/3.644, allocations: 3.59 MB / 2.816 GB, free: 14.34 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.01465/3.659, allocations: 9.609 MB / 2.826 GB, free: 4.75 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.05076/3.709, allocations: 40.07 MB / 2.865 GB, free: 13.96 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/3.709, allocations: 0 / 2.865 GB, free: 13.96 MB / 1.67 GB Notification: Performance of FrontEnd: time 2.675e-06/3.709, allocations: 0 / 2.865 GB, free: 13.96 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.0006235/3.71, allocations: 3.938 kB / 2.865 GB, free: 13.96 MB / 1.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.03177/3.742, allocations: 20.34 MB / 2.885 GB, free: 9.668 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/3.742, allocations: 12.03 kB / 2.885 GB, free: 9.656 MB / 1.686 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001924/3.744, allocations: 1.579 MB / 2.886 GB, free: 8.066 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/3.749, allocations: 2.177 MB / 2.888 GB, free: 5.867 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/3.774, allocations: 17.47 MB / 2.906 GB, free: 4.711 MB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/3.774, allocations: 0.9458 MB / 2.906 GB, free: 3.762 MB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/3.776, allocations: 1.257 MB / 2.908 GB, free: 2.508 MB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/3.796, allocations: 13.97 MB / 2.921 GB, free: 3.84 MB / 1.717 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/3.797, allocations: 39.59 kB / 2.921 GB, free: 3.801 MB / 1.717 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009003/3.797, allocations: 0.507 MB / 2.922 GB, free: 3.297 MB / 1.717 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/3.798, allocations: 335.9 kB / 2.922 GB, free: 2.969 MB / 1.717 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4342/4.232, allocations: 9.678 MB / 2.932 GB, free: 0.9231 GB / 1.717 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.06343/4.295, allocations: 70.48 MB / 3 GB, free: 0.8685 GB / 1.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005482/4.301, allocations: 4.567 MB / 3.005 GB, free: 0.8659 GB / 1.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/4.303, allocations: 2.438 MB / 3.007 GB, free: 0.8646 GB / 1.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06393/4.367, allocations: 51.49 MB / 3.058 GB, free: 0.8215 GB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/4.367, allocations: 120.8 kB / 3.058 GB, free: 0.8214 GB / 1.717 GB Notification: Performance of pre-optimization done (n=412): time 6.091e-06/4.367, allocations: 0 / 3.058 GB, free: 0.8214 GB / 1.717 GB Notification: Performance of matching and sorting (n=412): time 0.01262/4.38, allocations: 6.942 MB / 3.064 GB, free: 0.818 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/4.38, allocations: 0.7919 MB / 3.065 GB, free: 0.8171 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01887/4.399, allocations: 15.96 MB / 3.081 GB, free: 0.8092 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.0008576/4.4, allocations: 139.7 kB / 3.081 GB, free: 0.8091 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.004926/4.405, allocations: 8.305 MB / 3.089 GB, free: 0.8019 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/4.406, allocations: 1.456 MB / 3.09 GB, free: 0.8007 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/4.408, allocations: 1.374 MB / 3.092 GB, free: 0.7999 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 3.419e-05/4.408, allocations: 301.1 kB / 3.092 GB, free: 0.7996 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002447/4.41, allocations: 1.973 MB / 3.094 GB, free: 0.7986 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/4.414, allocations: 4.728 MB / 3.099 GB, free: 0.7944 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005599/4.42, allocations: 6.431 MB / 3.105 GB, free: 0.7879 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/4.42, allocations: 20 kB / 3.105 GB, free: 0.7878 GB / 1.717 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01115/4.431, allocations: 7.743 MB / 3.113 GB, free: 0.7803 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/4.431, allocations: 32 kB / 3.113 GB, free: 0.7803 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/4.431, allocations: 68 kB / 3.113 GB, free: 0.7802 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.498e-05/4.431, allocations: 96 kB / 3.113 GB, free: 0.7801 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/4.434, allocations: 1.326 MB / 3.114 GB, free: 0.7788 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.718e-05/4.434, allocations: 143.5 kB / 3.114 GB, free: 0.7787 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/4.445, allocations: 1.687 MB / 3.116 GB, free: 0.7771 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006856/4.445, allocations: 351.9 kB / 3.116 GB, free: 0.7768 GB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * 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.005404/4.451, allocations: 3.388 MB / 3.119 GB, free: 0.7735 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003566/4.454, allocations: 1.613 MB / 3.121 GB, free: 0.7719 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009591/4.464, allocations: 7.534 MB / 3.128 GB, free: 0.7647 GB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/4.464, allocations: 83.94 kB / 3.128 GB, free: 0.7646 GB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/4.464, allocations: 11.94 kB / 3.128 GB, free: 0.7646 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002917/4.467, allocations: 3.851 MB / 3.132 GB, free: 0.7605 GB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03059/4.497, allocations: 28.36 MB / 3.16 GB, free: 0.7325 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/4.497, allocations: 33 kB / 3.16 GB, free: 0.7325 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/4.5, allocations: 0.78 MB / 3.161 GB, free: 0.7317 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.037e-05/4.5, allocations: 48 kB / 3.161 GB, free: 0.7316 GB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/4.5, allocations: 155.9 kB / 3.161 GB, free: 0.7315 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.273e-05/4.5, allocations: 71.78 kB / 3.161 GB, free: 0.7314 GB / 1.717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.661e-05/4.5, allocations: 47.81 kB / 3.161 GB, free: 0.7314 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/4.512, allocations: 11.9 MB / 3.173 GB, free: 0.7192 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005527/4.517, allocations: 2.802 MB / 3.175 GB, free: 0.7164 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/4.519, allocations: 159.6 kB / 3.176 GB, free: 0.7162 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006071/4.525, allocations: 0.5413 MB / 3.176 GB, free: 0.7157 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003809/4.526, allocations: 402.6 kB / 3.176 GB, free: 0.7153 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/4.526, allocations: 259.8 kB / 3.177 GB, free: 0.7151 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01391/4.54, allocations: 11.38 MB / 3.188 GB, free: 0.7041 GB / 1.717 GB Notification: Performance of sort global known variables: time 1.8e-07/4.54, allocations: 3.938 kB / 3.188 GB, free: 0.704 GB / 1.717 GB Notification: Performance of remove unused functions: time 0.01323/4.553, allocations: 5.221 MB / 3.193 GB, free: 0.6992 GB / 1.717 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 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.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.01908/4.572, allocations: 16.75 MB / 3.209 GB, free: 0.6827 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.006927/4.579, allocations: 5.329 MB / 3.214 GB, free: 0.6775 GB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 2.549e-05/4.579, allocations: 8 kB / 3.214 GB, free: 0.6775 GB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/4.582, allocations: 2.582 MB / 3.217 GB, free: 0.675 GB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04159/4.624, allocations: 9.364 MB / 3.226 GB, free: 0.6664 GB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4044/5.028, allocations: 267.1 MB / 3.487 GB, free: 395.5 MB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005132/5.033, allocations: 7.425 MB / 3.494 GB, free: 388 MB / 1.717 GB Notification: Performance of simCode: alias equations: time 0.01087/5.044, allocations: 3.127 MB / 3.497 GB, free: 385 MB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006812/5.051, allocations: 7.802 MB / 3.505 GB, free: 377.2 MB / 1.717 GB Notification: Performance of SimCode: time 6.11e-07/5.051, allocations: 0 / 3.505 GB, free: 377.2 MB / 1.717 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.388/6.439, allocations: 485.9 MB / 3.979 GB, free: 0.8377 GB / 1.717 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/6.439, allocations: 285.8 kB / 3.98 GB, free: 0.8373 GB / 1.717 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/20.86, allocations: 0 / 3.98 GB, free: 0.8373 GB / 1.717 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches