Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.128/2.128, allocations: 390.3 MB / 402.8 MB, free: 6.688 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: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 0.7915 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 91.94 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.654e-05, allocations: 6.344 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.386, allocations: 430.8 MB / 1.64 GB, free: 3.59 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.386, allocations: 92.52 kB / 1.64 GB, free: 3.5 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.871/4.257, allocations: 0.8028 GB / 2.442 GB, free: 100.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.154e-06/4.257, allocations: 0 / 2.442 GB, free: 100.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0007667/4.258, allocations: 103.9 kB / 2.443 GB, free: 100.7 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.01418/4.272, allocations: 3.476 MB / 2.446 GB, free: 97.2 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/4.272, allocations: 8.031 kB / 2.446 GB, free: 97.19 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001989/4.274, allocations: 417.6 kB / 2.446 GB, free: 96.77 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/4.285, allocations: 1.622 MB / 2.448 GB, free: 95.14 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/4.296, allocations: 4.185 MB / 2.452 GB, free: 90.89 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/4.296, allocations: 225.9 kB / 2.452 GB, free: 90.66 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/4.297, allocations: 296 kB / 2.452 GB, free: 90.38 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/4.308, allocations: 4.053 MB / 2.456 GB, free: 86.19 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/4.308, allocations: 15.72 kB / 2.456 GB, free: 86.18 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008681/4.309, allocations: 132 kB / 2.457 GB, free: 86.05 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/4.309, allocations: 129.8 kB / 2.457 GB, free: 85.92 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007561/4.316, allocations: 3.654 MB / 2.46 GB, free: 82.25 MB / 1.135 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.02863/4.345, allocations: 15.74 MB / 2.476 GB, free: 65.98 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/4.348, allocations: 2.109 MB / 2.478 GB, free: 63.86 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/4.35, allocations: 1.27 MB / 2.479 GB, free: 62.59 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/4.351, allocations: 1.643 MB / 2.481 GB, free: 60.6 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/4.352, allocations: 55.81 kB / 2.481 GB, free: 60.54 MB / 1.135 GB Notification: Performance of pre-optimization done (n=164): time 4.018e-06/4.352, allocations: 4 kB / 2.481 GB, free: 60.54 MB / 1.135 GB Notification: Performance of matching and sorting (n=164): time 0.004611/4.356, allocations: 2.289 MB / 2.483 GB, free: 58.23 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/4.356, allocations: 120.1 kB / 2.483 GB, free: 58.09 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005636/4.362, allocations: 2.993 MB / 2.486 GB, free: 55.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0004345/4.362, allocations: 57.7 kB / 2.486 GB, free: 55.04 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/4.364, allocations: 1.642 MB / 2.488 GB, free: 53.38 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007554/4.364, allocations: 0.5661 MB / 2.488 GB, free: 52.8 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/4.365, allocations: 44 kB / 2.488 GB, free: 52.76 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001659/4.365, allocations: 394.2 kB / 2.489 GB, free: 52.37 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/4.367, allocations: 1.09 MB / 2.49 GB, free: 51.28 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/4.369, allocations: 1.568 MB / 2.491 GB, free: 49.52 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/4.371, allocations: 1.306 MB / 2.492 GB, free: 48.21 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/4.371, allocations: 4 kB / 2.492 GB, free: 48.21 MB / 1.135 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005881/4.377, allocations: 3.095 MB / 2.495 GB, free: 45.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001003/4.378, allocations: 4.909 MB / 2.5 GB, free: 39.71 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/4.378, allocations: 12 kB / 2.5 GB, free: 39.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-05/4.378, allocations: 24 kB / 2.5 GB, free: 39.67 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/4.382, allocations: 0.6904 MB / 2.501 GB, free: 38.98 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.931e-05/4.382, allocations: 31.86 kB / 2.501 GB, free: 38.95 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00498/4.387, allocations: 0.5237 MB / 2.501 GB, free: 38.42 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004075/4.388, allocations: 119.9 kB / 2.502 GB, free: 38.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/4.388, allocations: 4 kB / 2.502 GB, free: 38.3 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004887/4.393, allocations: 2.787 MB / 2.504 GB, free: 35.51 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/4.393, allocations: 16.92 kB / 2.504 GB, free: 35.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/4.393, allocations: 24 kB / 2.504 GB, free: 35.47 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003612/4.396, allocations: 0.6942 MB / 2.505 GB, free: 34.78 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.424e-05/4.396, allocations: 27.94 kB / 2.505 GB, free: 34.75 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/4.401, allocations: 484.8 kB / 2.505 GB, free: 34.27 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/4.401, allocations: 111.9 kB / 2.506 GB, free: 34.16 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 276 * 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.0008461/4.402, allocations: 232.4 kB / 2.506 GB, free: 33.93 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/4.404, allocations: 320 kB / 2.506 GB, free: 33.61 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007111/4.411, allocations: 2.888 MB / 2.509 GB, free: 30.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/4.411, allocations: 23.92 kB / 2.509 GB, free: 30.68 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/4.411, allocations: 0 / 2.509 GB, free: 30.68 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003436/4.414, allocations: 2.142 MB / 2.511 GB, free: 28.47 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/4.43, allocations: 7.484 MB / 2.518 GB, free: 20.65 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/4.43, allocations: 4 kB / 2.518 GB, free: 20.65 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/4.433, allocations: 487.4 kB / 2.519 GB, free: 20.17 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.883e-05/4.433, allocations: 8 kB / 2.519 GB, free: 20.16 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/4.433, allocations: 67.94 kB / 2.519 GB, free: 20.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.752e-05/4.433, allocations: 15.94 kB / 2.519 GB, free: 20.08 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/4.433, allocations: 15.94 kB / 2.519 GB, free: 20.07 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/4.439, allocations: 4.309 MB / 2.523 GB, free: 15.56 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/4.442, allocations: 0.8672 MB / 2.524 GB, free: 14.67 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/4.444, allocations: 43.98 kB / 2.524 GB, free: 14.62 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004142/4.448, allocations: 279.4 kB / 2.524 GB, free: 14.35 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/4.448, allocations: 113.1 kB / 2.524 GB, free: 14.24 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002526/4.448, allocations: 79.92 kB / 2.524 GB, free: 14.16 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.004871/4.453, allocations: 2.506 MB / 2.527 GB, free: 11.67 MB / 1.135 GB Notification: Performance of sort global known variables: time 9.92e-07/4.453, allocations: 0 / 2.527 GB, free: 11.67 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.007241/4.46, allocations: 1.808 MB / 2.529 GB, free: 9.859 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008414/4.469, allocations: 6.52 MB / 2.535 GB, free: 3.199 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.007254/4.476, allocations: 4.13 MB / 2.539 GB, free: 15.07 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/4.476, allocations: 448 / 2.539 GB, free: 15.07 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/4.478, allocations: 1.103 MB / 2.54 GB, free: 13.97 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009108/4.487, allocations: 1.572 MB / 2.542 GB, free: 12.42 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/4.502, allocations: 6.686 MB / 2.548 GB, free: 5.633 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/4.504, allocations: 2.528 MB / 2.551 GB, free: 3.074 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009139/4.513, allocations: 2.027 MB / 2.553 GB, free: 1.043 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7075/5.221, allocations: 1.406 MB / 2.554 GB, free: 223.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.313e-06/5.221, allocations: 0 / 2.554 GB, free: 223.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/5.417, allocations: 104.5 MB / 2.656 GB, free: 220.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/5.417, allocations: 217.1 kB / 2.656 GB, free: 220 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/11.99, allocations: 0 / 2.656 GB, free: 220 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat does not exist to compare? outputFormat=mat