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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001204/0.001204, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001224/0.001224, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.89 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5259, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.903/3.429, allocations: 1.357 GB / 2.374 GB, free: 91.89 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3308/3.759, allocations: 331.3 MB / 2.697 GB, free: 44.65 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0431/3.803, allocations: 1.125 MB / 2.698 GB, free: 43.98 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.03106/3.834, allocations: 11.55 MB / 2.709 GB, free: 33.05 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.07412/3.908, allocations: 29.95 MB / 2.739 GB, free: 7.652 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.04125/3.949, allocations: 18.27 MB / 2.757 GB, free: 7.379 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.06584/4.015, allocations: 58.43 MB / 2.814 GB, free: 14.48 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03664/4.052, allocations: 23 MB / 2.836 GB, free: 7.59 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05025/4.102, allocations: 24.98 MB / 2.86 GB, free: 40 kB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02623/4.128, allocations: 18.28 MB / 2.878 GB, free: 14.92 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004566/4.133, allocations: 2.133 MB / 2.88 GB, free: 12.79 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03536/4.168, allocations: 18.03 MB / 2.898 GB, free: 11.46 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.006028/4.174, allocations: 4.914 MB / 2.903 GB, free: 6.598 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.01568/4.19, allocations: 11.19 MB / 2.914 GB, free: 11.43 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.05134/4.241, allocations: 41.89 MB / 2.955 GB, free: 2.848 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/4.241, allocations: 0 / 2.955 GB, free: 2.848 MB / 1.732 GB Notification: Performance of FrontEnd: time 2.886e-06/4.241, allocations: 4 kB / 2.955 GB, free: 2.844 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.00076/4.242, allocations: 3.938 kB / 2.955 GB, free: 2.84 MB / 1.732 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.03297/4.275, allocations: 20.94 MB / 2.975 GB, free: 13.97 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/4.275, allocations: 11.97 kB / 2.975 GB, free: 13.96 MB / 1.764 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001916/4.277, allocations: 1.637 MB / 2.977 GB, free: 12.32 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/4.282, allocations: 2.245 MB / 2.979 GB, free: 10.05 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02395/4.306, allocations: 18.07 MB / 2.997 GB, free: 8.285 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005527/4.307, allocations: 0.9739 MB / 2.997 GB, free: 7.309 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/4.308, allocations: 1.288 MB / 2.999 GB, free: 6.023 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/4.329, allocations: 14.49 MB / 3.013 GB, free: 6.863 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/4.329, allocations: 39.59 kB / 3.013 GB, free: 6.824 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009346/4.33, allocations: 0.5299 MB / 3.013 GB, free: 6.297 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/4.33, allocations: 347.9 kB / 3.014 GB, free: 5.957 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.429/4.759, allocations: 10.09 MB / 3.024 GB, free: 0.9457 GB / 1.795 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.0713/4.83, allocations: 74.79 MB / 3.097 GB, free: 0.8899 GB / 1.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005521/4.836, allocations: 4.564 MB / 3.101 GB, free: 0.8873 GB / 1.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/4.838, allocations: 2.436 MB / 3.103 GB, free: 0.886 GB / 1.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06502/4.903, allocations: 51.5 MB / 3.154 GB, free: 0.8429 GB / 1.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/4.904, allocations: 114.5 kB / 3.154 GB, free: 0.8428 GB / 1.795 GB Notification: Performance of pre-optimization done (n=412): time 5.981e-06/4.904, allocations: 3.938 kB / 3.154 GB, free: 0.8428 GB / 1.795 GB Notification: Performance of matching and sorting (n=412): time 0.01234/4.916, allocations: 6.987 MB / 3.161 GB, free: 0.8394 GB / 1.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/4.916, allocations: 0.7975 MB / 3.161 GB, free: 0.8385 GB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02078/4.937, allocations: 16.44 MB / 3.178 GB, free: 0.8302 GB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0009775/4.938, allocations: 145.3 kB / 3.178 GB, free: 0.8301 GB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.005305/4.943, allocations: 8.639 MB / 3.186 GB, free: 0.8227 GB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/4.945, allocations: 1.463 MB / 3.188 GB, free: 0.8215 GB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/4.946, allocations: 1.449 MB / 3.189 GB, free: 0.8207 GB / 1.795 GB Notification: Performance of setup shared object (initialization): time 3.583e-05/4.946, allocations: 301.1 kB / 3.189 GB, free: 0.8204 GB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002398/4.949, allocations: 2.051 MB / 3.191 GB, free: 0.8193 GB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00401/4.953, allocations: 5.082 MB / 3.196 GB, free: 0.8144 GB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005825/4.959, allocations: 6.888 MB / 3.203 GB, free: 0.8069 GB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.26e-05/4.959, allocations: 23.88 kB / 3.203 GB, free: 0.8069 GB / 1.795 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01195/4.971, allocations: 8.15 MB / 3.211 GB, free: 0.799 GB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/4.971, allocations: 39.98 kB / 3.211 GB, free: 0.7989 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/4.971, allocations: 80 kB / 3.211 GB, free: 0.7988 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.377e-05/4.971, allocations: 115.9 kB / 3.211 GB, free: 0.7987 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/4.974, allocations: 1.4 MB / 3.213 GB, free: 0.7974 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-05/4.974, allocations: 159.4 kB / 3.213 GB, free: 0.7972 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/4.985, allocations: 1.85 MB / 3.214 GB, free: 0.7954 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006886/4.986, allocations: 383.8 kB / 3.215 GB, free: 0.795 GB / 1.795 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.005317/4.991, allocations: 3.554 MB / 3.218 GB, free: 0.7915 GB / 1.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003514/4.994, allocations: 1.651 MB / 3.22 GB, free: 0.7899 GB / 1.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009514/5.004, allocations: 7.583 MB / 3.227 GB, free: 0.7827 GB / 1.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.699e-05/5.004, allocations: 75.95 kB / 3.227 GB, free: 0.7826 GB / 1.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/5.004, allocations: 8 kB / 3.227 GB, free: 0.7826 GB / 1.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002882/5.007, allocations: 3.846 MB / 3.231 GB, free: 0.7785 GB / 1.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03128/5.038, allocations: 28.71 MB / 3.259 GB, free: 0.7501 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-05/5.038, allocations: 28 kB / 3.259 GB, free: 0.7501 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/5.041, allocations: 0.7886 MB / 3.26 GB, free: 0.7493 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.189e-05/5.041, allocations: 52 kB / 3.26 GB, free: 0.7493 GB / 1.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/5.041, allocations: 152 kB / 3.26 GB, free: 0.7491 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.142e-05/5.041, allocations: 67.78 kB / 3.26 GB, free: 0.7491 GB / 1.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/5.041, allocations: 47.81 kB / 3.26 GB, free: 0.749 GB / 1.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/5.052, allocations: 11.95 MB / 3.272 GB, free: 0.7368 GB / 1.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00523/5.058, allocations: 2.852 MB / 3.275 GB, free: 0.734 GB / 1.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002274/5.06, allocations: 155.6 kB / 3.275 GB, free: 0.7338 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006719/5.067, allocations: 0.6036 MB / 3.275 GB, free: 0.7332 GB / 1.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/5.067, allocations: 402.7 kB / 3.276 GB, free: 0.7328 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003548/5.067, allocations: 255.9 kB / 3.276 GB, free: 0.7326 GB / 1.795 GB Notification: Performance of sorting global known variables: time 0.01422/5.082, allocations: 11.7 MB / 3.288 GB, free: 0.7213 GB / 1.795 GB Notification: Performance of sort global known variables: time 3.21e-07/5.082, allocations: 0 / 3.288 GB, free: 0.7213 GB / 1.795 GB Notification: Performance of remove unused functions: time 0.01362/5.095, allocations: 5.291 MB / 3.293 GB, free: 0.7163 GB / 1.795 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.01884/5.114, allocations: 16.79 MB / 3.309 GB, free: 0.6998 GB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.007524/5.122, allocations: 5.85 MB / 3.315 GB, free: 0.6941 GB / 1.795 GB Notification: Performance of simCode: created event and clocks part: time 2.198e-05/5.122, allocations: 11.75 kB / 3.315 GB, free: 0.6941 GB / 1.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/5.124, allocations: 2.587 MB / 3.317 GB, free: 0.6916 GB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03757/5.162, allocations: 10.09 MB / 3.327 GB, free: 0.6826 GB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4296/5.592, allocations: 278.2 MB / 3.599 GB, free: 400.3 MB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005985/5.598, allocations: 7.779 MB / 3.606 GB, free: 392.4 MB / 1.795 GB Notification: Performance of simCode: alias equations: time 0.01157/5.609, allocations: 3.223 MB / 3.61 GB, free: 389.4 MB / 1.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007658/5.617, allocations: 8.06 MB / 3.617 GB, free: 381.3 MB / 1.795 GB Notification: Performance of SimCode: time 9.02e-07/5.617, allocations: 0 / 3.617 GB, free: 381.3 MB / 1.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.506/9.123, allocations: 0.4911 GB / 4.109 GB, free: 0.8678 GB / 1.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/9.123, allocations: 280.6 kB / 4.109 GB, free: 0.8674 GB / 1.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/25.25, allocations: 0.75 kB / 4.109 GB, free: 0.8674 GB / 1.795 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