Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",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.172/2.172, allocations: 390.5 MB / 398 MB, free: 11.02 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.0009939/0.000994, allocations: 172.9 kB / 491.2 MB, free: 1.625 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.37/1.37, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0008785/0.0008785, allocations: 97.97 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.535e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.806/1.046, allocations: 155.9 MB / 1.365 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/1.046, allocations: 77.89 kB / 1.365 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03985/1.086, allocations: 15.43 MB / 1.38 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.086, allocations: 0 / 1.38 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.002e-05/1.086, allocations: 11.69 kB / 1.38 GB, free: 31.43 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001231/1.087, allocations: 0.6292 MB / 1.38 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.087, allocations: 11.66 kB / 1.38 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008958/1.088, allocations: 105.3 kB / 1.38 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/1.089, allocations: 364.1 kB / 1.381 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/1.089, allocations: 11.5 kB / 1.381 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/1.089, allocations: 15.56 kB / 1.381 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004006/1.089, allocations: 209.9 kB / 1.381 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/1.09, allocations: 236.2 kB / 1.381 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.09, allocations: 3.938 kB / 1.381 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/1.09, allocations: 4 kB / 1.381 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.09, allocations: 7.656 kB / 1.381 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/1.092, allocations: 0.8116 MB / 1.382 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/1.092, allocations: 216.1 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/1.092, allocations: 92.84 kB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.092, allocations: 89.56 kB / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.092, allocations: 37.69 kB / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 3.687e-06/1.092, allocations: 112 / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0008444/1.093, allocations: 255.4 kB / 1.383 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/1.093, allocations: 55.38 kB / 1.383 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/1.093, allocations: 197.4 kB / 1.383 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/1.093, allocations: 33.45 kB / 1.383 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/1.094, allocations: 196.5 kB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/1.094, allocations: 84.44 kB / 1.383 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/1.094, allocations: 0 / 1.383 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.094, allocations: 332.2 kB / 1.384 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/1.094, allocations: 70.89 kB / 1.384 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/1.094, allocations: 70.67 kB / 1.384 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/1.094, allocations: 121.3 kB / 1.384 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.094, allocations: 0 / 1.384 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006912/1.095, allocations: 285 kB / 1.384 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.095, allocations: 9.312 kB / 1.384 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.095, allocations: 0 / 1.384 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.095, allocations: 3.688 kB / 1.384 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/1.096, allocations: 85.14 kB / 1.384 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.096, allocations: 0 / 1.384 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/1.096, allocations: 35.09 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/1.096, allocations: 15.36 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 9.338e-05/1.096, allocations: 106 kB / 1.384 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006116/1.097, allocations: 256 kB / 1.385 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/1.097, allocations: 27.09 kB / 1.385 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/1.097, allocations: 320.5 kB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.097, allocations: 3.812 kB / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.097, allocations: 0 / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.097, allocations: 0 / 1.385 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/1.098, allocations: 302.9 kB / 1.385 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.098, allocations: 0 / 1.385 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/1.098, allocations: 54.48 kB / 1.385 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.098, allocations: 4 kB / 1.385 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/1.098, allocations: 7.984 kB / 1.385 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.098, allocations: 3.719 kB / 1.385 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.098, allocations: 3.953 kB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/1.099, allocations: 245.6 kB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/1.099, allocations: 129.5 kB / 1.386 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/1.099, allocations: 7.922 kB / 1.386 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/1.099, allocations: 19.52 kB / 1.386 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/1.099, allocations: 18.94 kB / 1.386 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/1.099, allocations: 7.734 kB / 1.386 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001287/1.099, allocations: 173.8 kB / 1.386 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.099, allocations: 0 / 1.386 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000386/1.1, allocations: 108.2 kB / 1.386 GB, free: 27.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0007797/1.1, allocations: 0.8121 MB / 1.387 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000273/1.101, allocations: 177.3 kB / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.101, allocations: 0 / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/1.101, allocations: 76.62 kB / 1.387 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/1.101, allocations: 75.17 kB / 1.387 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/1.102, allocations: 429.7 kB / 1.388 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/1.103, allocations: 0.7926 MB / 1.388 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002969/1.103, allocations: 57.16 kB / 1.388 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/1.103, allocations: 114.2 kB / 1.388 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.103, allocations: 0 / 1.388 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/1.127, allocations: 5.942 MB / 1.394 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/1.127, allocations: 144.6 kB / 1.394 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.963, allocations: 7.938 kB / 1.394 GB, free: 22.89 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat does not exist to compare? outputFormat=mat