Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_10_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.0008449/0.0008449, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005276/0.005276, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.32/2.32, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003082, allocations: 12 kB / 0.873 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.5783, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.817/3.396, allocations: 1.342 GB / 2.365 GB, free: 53.61 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.2916/3.687, allocations: 331.1 MB / 2.689 GB, free: 2.195 MB / 1.467 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04135/3.729, allocations: 1.059 MB / 2.69 GB, free: 1.129 MB / 1.467 GB Notification: Performance of NFTyping.typeComponents: time 0.03171/3.76, allocations: 10.8 MB / 2.7 GB, free: 6.758 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.07804/3.839, allocations: 29.43 MB / 2.729 GB, free: 13.87 MB / 1.514 GB Notification: Performance of NFTyping.typeClassSections: time 0.04129/3.88, allocations: 18.14 MB / 2.747 GB, free: 13.74 MB / 1.529 GB Notification: Performance of NFFlatten.flatten: time 0.08284/3.963, allocations: 75.86 MB / 2.821 GB, free: 3.371 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03684/4, allocations: 18.38 MB / 2.839 GB, free: 1.121 MB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04684/4.046, allocations: 20.28 MB / 2.859 GB, free: 13.85 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03077/4.077, allocations: 16.9 MB / 2.875 GB, free: 14.07 MB / 1.654 GB Notification: Performance of NFPackage.collectConstants: time 0.005408/4.083, allocations: 0.6328 MB / 2.876 GB, free: 13.43 MB / 1.654 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03912/4.122, allocations: 15.59 MB / 2.891 GB, free: 14.55 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007651/4.13, allocations: 3.254 MB / 2.894 GB, free: 11.36 MB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0212/4.151, allocations: 9.341 MB / 2.903 GB, free: 2.035 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 1.829/5.98, allocations: 40.14 MB / 2.942 GB, free: 67.88 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/5.98, allocations: 3.5 kB / 2.942 GB, free: 67.88 MB / 1.67 GB Notification: Performance of FrontEnd: time 1.443e-06/5.98, allocations: 2.438 kB / 2.942 GB, free: 67.88 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.001014/5.981, allocations: 0 / 2.942 GB, free: 67.88 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: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.04004/6.021, allocations: 16.77 MB / 2.959 GB, free: 61.05 MB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/6.021, allocations: 8.594 kB / 2.959 GB, free: 61.05 MB / 1.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006294/6.027, allocations: 1.64 MB / 2.96 GB, free: 60.94 MB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/6.039, allocations: 2.252 MB / 2.963 GB, free: 59.87 MB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0362/6.076, allocations: 18.07 MB / 2.98 GB, free: 57.2 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/6.077, allocations: 0.9747 MB / 2.981 GB, free: 57.17 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004071/6.081, allocations: 1.302 MB / 2.983 GB, free: 57.16 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/6.122, allocations: 14.48 MB / 2.997 GB, free: 55.09 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003136/6.122, allocations: 44.38 kB / 2.997 GB, free: 55.09 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001542/6.124, allocations: 0.5302 MB / 2.997 GB, free: 55.09 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/6.124, allocations: 347.7 kB / 2.998 GB, free: 55.09 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/6.144, allocations: 10.08 MB / 3.007 GB, free: 55.02 MB / 1.67 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.08276/6.226, allocations: 74.83 MB / 3.08 GB, free: 16.32 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00613/6.233, allocations: 4.567 MB / 3.085 GB, free: 15.62 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/6.236, allocations: 2.432 MB / 3.087 GB, free: 15.39 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08249/6.318, allocations: 51.88 MB / 3.138 GB, free: 24.62 MB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/6.318, allocations: 124.4 kB / 3.138 GB, free: 24.57 MB / 1.717 GB Notification: Performance of pre-optimization done (n=412): time 1.249e-05/6.318, allocations: 2.531 kB / 3.138 GB, free: 24.57 MB / 1.717 GB Notification: Performance of matching and sorting (n=412): time 0.01462/6.333, allocations: 6.977 MB / 3.145 GB, free: 23.62 MB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004108/6.333, allocations: 0.7901 MB / 3.146 GB, free: 22.71 MB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03275/6.366, allocations: 16.44 MB / 3.162 GB, free: 20.81 MB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/6.367, allocations: 141.4 kB / 3.162 GB, free: 20.78 MB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.00676/6.374, allocations: 8.649 MB / 3.17 GB, free: 18.2 MB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.001914/6.376, allocations: 1.464 MB / 3.172 GB, free: 17.15 MB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006861/6.377, allocations: 0.5022 MB / 3.172 GB, free: 17.04 MB / 1.717 GB Notification: Performance of setup shared object (initialization): time 0.0001038/6.377, allocations: 307.2 kB / 3.173 GB, free: 16.74 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/6.38, allocations: 2.044 MB / 3.175 GB, free: 16.47 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/6.384, allocations: 5.092 MB / 3.179 GB, free: 12.68 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006166/6.39, allocations: 6.875 MB / 3.186 GB, free: 9.477 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.93e-05/6.39, allocations: 19.38 kB / 3.186 GB, free: 9.477 MB / 1.717 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01341/6.404, allocations: 8.157 MB / 3.194 GB, free: 7.891 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/6.404, allocations: 39.33 kB / 3.194 GB, free: 7.891 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.925e-05/6.404, allocations: 73.5 kB / 3.194 GB, free: 7.891 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.264e-05/6.404, allocations: 113.5 kB / 3.194 GB, free: 7.891 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/6.408, allocations: 1.411 MB / 3.196 GB, free: 7.73 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/6.408, allocations: 163.2 kB / 3.196 GB, free: 7.711 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/6.422, allocations: 1.862 MB / 3.198 GB, free: 6.695 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007198/6.422, allocations: 378.4 kB / 3.198 GB, free: 6.668 MB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.007382/6.43, allocations: 3.551 MB / 3.202 GB, free: 6.293 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003886/6.434, allocations: 1.657 MB / 3.203 GB, free: 5.414 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/6.445, allocations: 7.582 MB / 3.211 GB, free: 3.918 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.814e-05/6.445, allocations: 80.34 kB / 3.211 GB, free: 3.902 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/6.445, allocations: 12.77 kB / 3.211 GB, free: 3.898 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003371/6.448, allocations: 3.841 MB / 3.214 GB, free: 1.879 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03988/6.488, allocations: 28.73 MB / 3.243 GB, free: 8.523 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-05/6.488, allocations: 29.88 kB / 3.243 GB, free: 8.523 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/6.491, allocations: 0.7768 MB / 3.243 GB, free: 8.426 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-05/6.491, allocations: 49.28 kB / 3.243 GB, free: 8.426 MB / 1.733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/6.491, allocations: 154 kB / 3.243 GB, free: 8.414 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.023e-05/6.491, allocations: 74.16 kB / 3.244 GB, free: 8.406 MB / 1.733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-05/6.491, allocations: 46.47 kB / 3.244 GB, free: 8.406 MB / 1.733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/6.505, allocations: 11.96 MB / 3.255 GB, free: 3.223 MB / 1.733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007401/6.512, allocations: 3.12 MB / 3.258 GB, free: 1.293 MB / 1.733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003953/6.516, allocations: 135.9 kB / 3.258 GB, free: 1.227 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009749/6.526, allocations: 0.6041 MB / 3.259 GB, free: 0.6875 MB / 1.733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/6.526, allocations: 404.2 kB / 3.259 GB, free: 376 kB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000566/6.527, allocations: 261.1 kB / 3.26 GB, free: 160 kB / 1.733 GB Notification: Performance of sorting global known variables: time 0.02416/6.551, allocations: 11.7 MB / 3.271 GB, free: 8.352 MB / 1.748 GB Notification: Performance of sort global known variables: time 6.31e-07/6.551, allocations: 4 kB / 3.271 GB, free: 8.348 MB / 1.748 GB Notification: Performance of remove unused functions: time 0.02086/6.572, allocations: 5.28 MB / 3.276 GB, free: 3.516 MB / 1.748 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.5735/7.145, allocations: 17.06 MB / 3.293 GB, free: 5.371 MB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.009576/7.155, allocations: 5.506 MB / 3.298 GB, free: 1.77 MB / 1.764 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-05/7.155, allocations: 8 kB / 3.298 GB, free: 1.762 MB / 1.764 GB Notification: Performance of simCode: created simulation system equations: time 0.003501/7.159, allocations: 2.573 MB / 3.301 GB, free: 120 kB / 1.764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.159/7.318, allocations: 12.42 MB / 3.313 GB, free: 7.031 MB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5903/7.908, allocations: 278.4 MB / 3.585 GB, free: 2.234 MB / 2.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0156/7.924, allocations: 7.814 MB / 3.592 GB, free: 10.38 MB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.01799/7.942, allocations: 3.227 MB / 3.596 GB, free: 7.289 MB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01758/7.959, allocations: 8.57 MB / 3.604 GB, free: 14.72 MB / 2.092 GB Notification: Performance of SimCode: time 1.022e-06/7.959, allocations: 4.281 kB / 3.604 GB, free: 14.72 MB / 2.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.362/9.321, allocations: 0.664 GB / 4.268 GB, free: 0.6329 GB / 2.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/9.322, allocations: 280.8 kB / 4.268 GB, free: 0.6326 GB / 2.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/27.53, allocations: 0 / 4.268 GB, free: 0.6326 GB / 2.092 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches