Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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.001039/0.001039, allocations: 92 kB / 15.06 MB, free: 1.098 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.001218/0.001218, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.691/2.691, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9232/0.9236, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.002/3.925, allocations: 1.257 GB / 2.238 GB, free: 6.238 MB / 1.404 GB Notification: Performance of NFInst.instExpressions: time 1.642/5.567, allocations: 312.2 MB / 2.543 GB, free: 78.71 MB / 1.42 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06221/5.629, allocations: 1.054 MB / 2.544 GB, free: 78.71 MB / 1.42 GB Notification: Performance of NFTyping.typeComponents: time 0.03999/5.669, allocations: 8.788 MB / 2.552 GB, free: 75.19 MB / 1.42 GB Notification: Performance of NFTyping.typeBindings: time 0.09715/5.767, allocations: 24.86 MB / 2.577 GB, free: 61.27 MB / 1.42 GB Notification: Performance of NFTyping.typeClassSections: time 0.04859/5.815, allocations: 13.06 MB / 2.59 GB, free: 53.83 MB / 1.42 GB Notification: Performance of NFFlatten.flatten: time 0.08506/5.9, allocations: 64.29 MB / 2.652 GB, free: 13.31 MB / 1.436 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04843/5.949, allocations: 14.62 MB / 2.667 GB, free: 14.85 MB / 1.451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06316/6.012, allocations: 18.93 MB / 2.685 GB, free: 12.73 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04247/6.055, allocations: 18.39 MB / 2.703 GB, free: 11.49 MB / 1.482 GB Notification: Performance of NFPackage.collectConstants: time 0.007641/6.062, allocations: 0.6289 MB / 2.704 GB, free: 10.86 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0474/6.11, allocations: 12.13 MB / 2.715 GB, free: 14.96 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.008763/6.118, allocations: 3.051 MB / 2.718 GB, free: 11.96 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 0.01299/6.132, allocations: 4.171 MB / 2.723 GB, free: 7.777 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.06033/6.192, allocations: 32.24 MB / 2.754 GB, free: 8.703 MB / 1.529 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/6.192, allocations: 0 / 2.754 GB, free: 8.703 MB / 1.529 GB Notification: Performance of FrontEnd: time 6.582e-06/6.192, allocations: 7.984 kB / 2.754 GB, free: 8.695 MB / 1.529 GB Notification: Performance of Transformations before backend: time 0.00151/6.193, allocations: 0 / 2.754 GB, free: 8.695 MB / 1.529 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.04371/6.237, allocations: 17 MB / 2.771 GB, free: 7.906 MB / 1.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/6.237, allocations: 8.031 kB / 2.771 GB, free: 7.898 MB / 1.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006367/6.244, allocations: 1.649 MB / 2.772 GB, free: 6.242 MB / 1.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009819/6.253, allocations: 2.248 MB / 2.774 GB, free: 3.973 MB / 1.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04369/6.297, allocations: 17.53 MB / 2.792 GB, free: 2.816 MB / 1.561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001477/6.299, allocations: 0.9778 MB / 2.793 GB, free: 1.836 MB / 1.561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004391/6.303, allocations: 1.284 MB / 2.794 GB, free: 0.5547 MB / 1.561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04663/6.35, allocations: 14.39 MB / 2.808 GB, free: 1.508 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008194/6.351, allocations: 44.61 kB / 2.808 GB, free: 1.465 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004576/6.355, allocations: 0.5307 MB / 2.808 GB, free: 0.9375 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007509/6.356, allocations: 351.9 kB / 2.809 GB, free: 0.5938 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02921/6.385, allocations: 9.993 MB / 2.818 GB, free: 6.641 MB / 1.592 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.8688/7.254, allocations: 74.78 MB / 2.892 GB, free: 0.7924 GB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008791/7.263, allocations: 4.528 MB / 2.896 GB, free: 0.7917 GB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004083/7.267, allocations: 2.427 MB / 2.898 GB, free: 0.7915 GB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07054/7.338, allocations: 51.89 MB / 2.949 GB, free: 0.7551 GB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/7.338, allocations: 115.8 kB / 2.949 GB, free: 0.755 GB / 1.639 GB Notification: Performance of pre-optimization done (n=412): time 7.694e-06/7.338, allocations: 0 / 2.949 GB, free: 0.755 GB / 1.639 GB Notification: Performance of matching and sorting (n=412): time 0.01817/7.356, allocations: 6.95 MB / 2.956 GB, free: 0.7534 GB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000344/7.357, allocations: 0.793 MB / 2.957 GB, free: 0.7525 GB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03462/7.391, allocations: 16.28 MB / 2.973 GB, free: 0.7443 GB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.001388/7.393, allocations: 142.5 kB / 2.973 GB, free: 0.7442 GB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.01125/7.404, allocations: 8.651 MB / 2.981 GB, free: 0.7371 GB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.002746/7.407, allocations: 1.462 MB / 2.983 GB, free: 0.7359 GB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/7.408, allocations: 129.7 kB / 2.983 GB, free: 0.7358 GB / 1.639 GB Notification: Performance of setup shared object (initialization): time 0.00072/7.409, allocations: 0.5465 MB / 2.983 GB, free: 0.7353 GB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004702/7.413, allocations: 2.019 MB / 2.985 GB, free: 0.7343 GB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007184/7.421, allocations: 5.058 MB / 2.99 GB, free: 0.7296 GB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/7.426, allocations: 2.935 MB / 2.993 GB, free: 0.7282 GB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/7.426, allocations: 21.22 kB / 2.993 GB, free: 0.7282 GB / 1.639 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02146/7.448, allocations: 8.106 MB / 3.001 GB, free: 0.7242 GB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/7.448, allocations: 36.25 kB / 3.001 GB, free: 0.7242 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000175/7.448, allocations: 75.64 kB / 3.001 GB, free: 0.7242 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/7.448, allocations: 123.6 kB / 3.001 GB, free: 0.7242 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005316/7.454, allocations: 1.408 MB / 3.003 GB, free: 0.7239 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002978/7.454, allocations: 162.3 kB / 3.003 GB, free: 0.7238 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01698/7.471, allocations: 1.862 MB / 3.004 GB, free: 0.7228 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/7.473, allocations: 383.2 kB / 3.005 GB, free: 0.7227 GB / 1.639 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0118/7.485, allocations: 3.554 MB / 3.008 GB, free: 0.7205 GB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006603/7.491, allocations: 1.654 MB / 3.01 GB, free: 0.7196 GB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/7.509, allocations: 7.562 MB / 3.017 GB, free: 0.7129 GB / 1.639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002369/7.509, allocations: 85.94 kB / 3.017 GB, free: 0.7129 GB / 1.639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/7.509, allocations: 11.95 kB / 3.017 GB, free: 0.7129 GB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004333/7.513, allocations: 3.822 MB / 3.021 GB, free: 0.7088 GB / 1.639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05793/7.571, allocations: 28.69 MB / 3.049 GB, free: 0.6805 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-05/7.571, allocations: 32 kB / 3.049 GB, free: 0.6804 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002626/7.574, allocations: 0.7684 MB / 3.05 GB, free: 0.6797 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.815e-05/7.574, allocations: 56 kB / 3.05 GB, free: 0.6796 GB / 1.639 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003082/7.574, allocations: 159.6 kB / 3.05 GB, free: 0.6795 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.485e-05/7.575, allocations: 71.72 kB / 3.05 GB, free: 0.6794 GB / 1.639 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.211e-05/7.575, allocations: 47.81 kB / 3.05 GB, free: 0.6794 GB / 1.639 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/7.59, allocations: 11.9 MB / 3.062 GB, free: 0.6672 GB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01009/7.6, allocations: 3.135 MB / 3.065 GB, free: 0.6641 GB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006118/7.606, allocations: 128 kB / 3.065 GB, free: 0.664 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01346/7.62, allocations: 0.6137 MB / 3.066 GB, free: 0.6635 GB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001538/7.621, allocations: 401.7 kB / 3.066 GB, free: 0.6631 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001642/7.623, allocations: 259.8 kB / 3.066 GB, free: 0.6628 GB / 1.639 GB Notification: Performance of sorting global known variables: time 0.03012/7.653, allocations: 11.53 MB / 3.078 GB, free: 0.6517 GB / 1.639 GB Notification: Performance of sort global known variables: time 5.92e-07/7.653, allocations: 0 / 3.078 GB, free: 0.6517 GB / 1.639 GB Notification: Performance of remove unused functions: time 0.02432/7.678, allocations: 5.257 MB / 3.083 GB, free: 0.6468 GB / 1.639 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03657/7.714, allocations: 16.85 MB / 3.099 GB, free: 0.6302 GB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.01005/7.724, allocations: 5.469 MB / 3.104 GB, free: 0.6249 GB / 1.639 GB Notification: Performance of simCode: created event and clocks part: time 3.7e-05/7.724, allocations: 8.375 kB / 3.105 GB, free: 0.6249 GB / 1.639 GB Notification: Performance of simCode: created simulation system equations: time 0.003948/7.728, allocations: 2.566 MB / 3.107 GB, free: 0.6224 GB / 1.639 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05916/7.788, allocations: 9.678 MB / 3.116 GB, free: 0.6135 GB / 1.639 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5273/8.315, allocations: 205.8 MB / 3.317 GB, free: 411.4 MB / 1.639 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01295/8.328, allocations: 7.791 MB / 3.325 GB, free: 403.6 MB / 1.639 GB Notification: Performance of simCode: alias equations: time 0.01798/8.346, allocations: 3.233 MB / 3.328 GB, free: 400.5 MB / 1.639 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01323/8.359, allocations: 7.974 MB / 3.336 GB, free: 392.5 MB / 1.639 GB Notification: Performance of SimCode: time 1.643e-06/8.359, allocations: 0 / 3.336 GB, free: 392.5 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.965/10.32, allocations: 496.7 MB / 3.821 GB, free: 0.737 GB / 1.639 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/10.32, allocations: 261.6 kB / 3.821 GB, free: 0.7366 GB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/28.75, allocations: 0 / 3.821 GB, free: 0.7366 GB / 1.639 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat does not exist to compare? outputFormat=mat