Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 172.9 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009363/0.000936, allocations: 103.8 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.054e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.261, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/5.884, allocations: 2.2 GB / 3.406 GB, free: 121.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/5.884, allocations: 93.97 kB / 3.406 GB, free: 121.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.202/14.09, allocations: 2.13 GB / 5.536 GB, free: 187.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.565e-06/14.09, allocations: 0 / 5.536 GB, free: 187.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002616/14.09, allocations: 320.8 kB / 5.536 GB, free: 187.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.04086/14.13, allocations: 9.698 MB / 5.546 GB, free: 177.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/14.13, allocations: 12.03 kB / 5.546 GB, free: 177.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/14.14, allocations: 2.085 MB / 5.548 GB, free: 175.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04201/14.19, allocations: 15.19 MB / 5.562 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007067/14.19, allocations: 284 kB / 5.563 GB, free: 160 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004593/14.19, allocations: 0.5192 MB / 5.563 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02569/14.22, allocations: 10.31 MB / 5.573 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/14.26, allocations: 11.54 MB / 5.585 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007375/14.26, allocations: 43.66 kB / 5.585 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004664/14.26, allocations: 20 kB / 5.585 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000536/14.26, allocations: 465.1 kB / 5.585 GB, free: 136.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.09992/14.36, allocations: 49.14 MB / 5.633 GB, free: 86.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/14.38, allocations: 7.374 MB / 5.64 GB, free: 79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006505/14.38, allocations: 3.909 MB / 5.644 GB, free: 75.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/14.38, allocations: 1.499 MB / 5.646 GB, free: 73.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008213/14.39, allocations: 3.755 MB / 5.649 GB, free: 69.49 MB / 1.151 GB Notification: Performance of pre-optimization done (n=554): time 9.047e-06/14.39, allocations: 0 / 5.649 GB, free: 69.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=554): time 0.07284/14.47, allocations: 11.47 MB / 5.66 GB, free: 57.92 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/14.47, allocations: 343.1 kB / 5.661 GB, free: 57.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01665/14.48, allocations: 7.827 MB / 5.668 GB, free: 49.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002049/14.48, allocations: 37.7 kB / 5.668 GB, free: 49.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006066/14.49, allocations: 5.028 MB / 5.673 GB, free: 44.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003893/14.49, allocations: 1.852 MB / 5.675 GB, free: 42.71 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/14.49, allocations: 0 / 5.675 GB, free: 42.71 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000428/14.5, allocations: 0.5792 MB / 5.676 GB, free: 42.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/14.5, allocations: 3.144 MB / 5.679 GB, free: 38.97 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/14.5, allocations: 4.971 MB / 5.684 GB, free: 33.21 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1554/14.66, allocations: 16.15 MB / 5.699 GB, free: 17.01 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.53e-05/14.66, allocations: 16 kB / 5.699 GB, free: 17 MB / 1.151 GB Notification: Performance of matching and sorting (n=867) (initialization): time 1.619/16.28, allocations: 20.83 MB / 5.72 GB, free: 217.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.009819/16.29, allocations: 27.74 MB / 5.747 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003302/16.29, allocations: 54.59 kB / 5.747 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/16.29, allocations: 94.62 kB / 5.747 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/16.3, allocations: 1.843 MB / 5.749 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003034/16.3, allocations: 124 kB / 5.749 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01572/16.32, allocations: 1.021 MB / 5.75 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003493/16.32, allocations: 333.7 kB / 5.75 GB, free: 188.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/16.32, allocations: 3.594 kB / 5.75 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1704/16.49, allocations: 20 MB / 5.77 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/16.49, allocations: 59.34 kB / 5.77 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/16.49, allocations: 94.81 kB / 5.77 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009403/16.5, allocations: 1.84 MB / 5.772 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004584/16.5, allocations: 124.2 kB / 5.772 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/16.51, allocations: 0.8977 MB / 5.773 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/16.52, allocations: 338.9 kB / 5.773 GB, free: 188.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 867 * 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.003188/16.52, allocations: 297 kB / 5.773 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07521/16.59, allocations: 11.46 MB / 5.784 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00465/16.6, allocations: 0.82 MB / 5.785 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07492/16.67, allocations: 12.5 MB / 5.797 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/16.67, allocations: 55 kB / 5.798 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/16.67, allocations: 0 / 5.798 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06379/16.74, allocations: 10.8 MB / 5.808 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09002/16.83, allocations: 22.92 MB / 5.83 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/16.83, allocations: 4.438 kB / 5.83 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006679/16.83, allocations: 1.331 MB / 5.832 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.276e-05/16.83, allocations: 21.19 kB / 5.832 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007978/16.83, allocations: 120.8 kB / 5.832 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/16.84, allocations: 19.95 kB / 5.832 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/16.84, allocations: 4.094 kB / 5.832 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07253/16.91, allocations: 16.37 MB / 5.848 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008861/16.92, allocations: 2.368 MB / 5.85 GB, free: 183.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004186/16.92, allocations: 32.38 kB / 5.85 GB, free: 183.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/16.93, allocations: 0.6168 MB / 5.851 GB, free: 183.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001644/16.93, allocations: 330.1 kB / 5.851 GB, free: 183.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001254/16.93, allocations: 290.4 kB / 5.851 GB, free: 183.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01591/16.95, allocations: 5.998 MB / 5.857 GB, free: 183.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.089e-05/16.95, allocations: 0 / 5.857 GB, free: 183.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.02841/16.98, allocations: 5.441 MB / 5.863 GB, free: 183 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (575): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.1114/17.09, allocations: 18.25 MB / 5.88 GB, free: 180.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02829/17.12, allocations: 12.02 MB / 5.892 GB, free: 180.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-05/17.12, allocations: 15.22 kB / 5.892 GB, free: 180.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.008836/17.13, allocations: 3.4 MB / 5.895 GB, free: 180.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02739/17.16, allocations: 4.768 MB / 5.9 GB, free: 180.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05972/17.22, allocations: 22.6 MB / 5.922 GB, free: 175.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009669/17.22, allocations: 7.206 MB / 5.929 GB, free: 172.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.03287/17.26, allocations: 8.806 MB / 5.938 GB, free: 166.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01354/17.27, allocations: 4.423 MB / 5.942 GB, free: 163.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.763e-06/17.27, allocations: 4 kB / 5.942 GB, free: 163.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.101/18.37, allocations: 256.1 MB / 6.192 GB, free: 226.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/18.37, allocations: 173.7 kB / 6.192 GB, free: 226 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/28.67, allocations: 3.172 kB / 6.192 GB, free: 226 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat does not exist to compare? outputFormat=mat