Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.118/2.118, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.0009867/0.0009869, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.438/1.438, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009731/0.0009733, allocations: 93.72 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.325e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.303/4.566, allocations: 1.754 GB / 2.967 GB, free: 84.43 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/4.566, allocations: 94.06 kB / 2.967 GB, free: 84.38 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9935/5.56, allocations: 128.2 MB / 3.092 GB, free: 369.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.944e-06/5.56, allocations: 0 / 3.092 GB, free: 369.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004605/5.56, allocations: 48.95 kB / 3.092 GB, free: 369.5 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01562/5.576, allocations: 2.249 MB / 3.094 GB, free: 368.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/5.576, allocations: 9.719 kB / 3.094 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006498/5.577, allocations: 176.4 kB / 3.095 GB, free: 368.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009622/5.586, allocations: 346.8 kB / 3.095 GB, free: 368 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1213/5.708, allocations: 93.94 MB / 3.187 GB, free: 313.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/5.708, allocations: 90.27 kB / 3.187 GB, free: 313.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/5.708, allocations: 116 kB / 3.187 GB, free: 313.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/5.71, allocations: 1.172 MB / 3.188 GB, free: 312.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/5.71, allocations: 0 / 3.188 GB, free: 312.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/5.71, allocations: 48 kB / 3.188 GB, free: 312.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/5.71, allocations: 31.95 kB / 3.188 GB, free: 312.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/5.712, allocations: 1.354 MB / 3.189 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1473/5.859, allocations: 79.21 MB / 3.267 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/5.862, allocations: 0.9844 MB / 3.268 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/5.862, allocations: 390.8 kB / 3.268 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/5.862, allocations: 40.41 kB / 3.268 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007338/5.863, allocations: 0.5348 MB / 3.269 GB, free: 234 MB / 1.151 GB Notification: Performance of pre-optimization done (n=88): time 4.959e-06/5.863, allocations: 0 / 3.269 GB, free: 234 MB / 1.151 GB Notification: Performance of matching and sorting (n=88): time 0.01066/5.874, allocations: 1.055 MB / 3.27 GB, free: 233 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/5.874, allocations: 244.1 kB / 3.27 GB, free: 232.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1987/6.073, allocations: 103.3 MB / 3.371 GB, free: 129.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003677/6.073, allocations: 45.7 kB / 3.371 GB, free: 129.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009844/6.074, allocations: 0.9787 MB / 3.372 GB, free: 128.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/6.074, allocations: 294 kB / 3.372 GB, free: 128 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/6.074, allocations: 24 kB / 3.372 GB, free: 128 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/6.074, allocations: 341.9 kB / 3.372 GB, free: 127.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/6.075, allocations: 421.9 kB / 3.373 GB, free: 127.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/6.076, allocations: 0.5687 MB / 3.373 GB, free: 126.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/6.076, allocations: 499.6 kB / 3.374 GB, free: 126.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/6.076, allocations: 3.938 kB / 3.374 GB, free: 126.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.009978/6.086, allocations: 1.345 MB / 3.375 GB, free: 124.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/6.086, allocations: 5.25 kB / 3.375 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/6.086, allocations: 6.438 kB / 3.375 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/6.087, allocations: 90.25 kB / 3.375 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/6.088, allocations: 216.8 kB / 3.375 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/6.09, allocations: 1.515 MB / 3.377 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00781/6.098, allocations: 238.8 kB / 3.377 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/6.098, allocations: 46.53 kB / 3.377 GB, free: 122.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/6.098, allocations: 161.6 kB / 3.377 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007656/6.106, allocations: 213.3 kB / 3.378 GB, free: 122.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/6.11, allocations: 1.453 MB / 3.379 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/6.11, allocations: 21.52 kB / 3.379 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/6.11, allocations: 4 kB / 3.379 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/6.11, allocations: 3.984 kB / 3.379 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0565/6.166, allocations: 37.24 MB / 3.415 GB, free: 83.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/6.166, allocations: 2.688 kB / 3.415 GB, free: 83.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/6.167, allocations: 176.6 kB / 3.416 GB, free: 83.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/6.168, allocations: 79.06 kB / 3.416 GB, free: 83.25 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.326e-05/6.168, allocations: 36.38 kB / 3.416 GB, free: 83.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/6.169, allocations: 1.533 MB / 3.417 GB, free: 81.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/6.169, allocations: 0 / 3.417 GB, free: 81.57 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/6.18, allocations: 1.25 MB / 3.418 GB, free: 80.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03542/6.216, allocations: 20.49 MB / 3.438 GB, free: 59.78 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009692/6.225, allocations: 31.14 kB / 3.438 GB, free: 59.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008827/6.234, allocations: 188.7 kB / 3.439 GB, free: 59.57 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004252/6.235, allocations: 72.86 kB / 3.439 GB, free: 59.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/6.235, allocations: 46.84 kB / 3.439 GB, free: 59.46 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.7667/7.001, allocations: 76.17 MB / 3.513 GB, free: 361.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.062e-06/7.002, allocations: 0 / 3.513 GB, free: 361.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01838/7.02, allocations: 6.06 MB / 3.519 GB, free: 361.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01727/7.037, allocations: 3.434 MB / 3.522 GB, free: 360.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002906/7.04, allocations: 1.085 MB / 3.523 GB, free: 360.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/7.04, allocations: 3.625 kB / 3.523 GB, free: 360.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/7.041, allocations: 0.5855 MB / 3.524 GB, free: 360.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009445/7.051, allocations: 355.9 kB / 3.524 GB, free: 360.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/7.07, allocations: 4.339 MB / 3.529 GB, free: 359.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/7.072, allocations: 1.717 MB / 3.53 GB, free: 358.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0169/7.089, allocations: 11.11 MB / 3.541 GB, free: 358.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02235/7.111, allocations: 4.101 MB / 3.545 GB, free: 358.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/7.111, allocations: 3.969 kB / 3.545 GB, free: 358.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.327/8.439, allocations: 0.5225 GB / 4.068 GB, free: 203 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/8.439, allocations: 245.7 kB / 4.068 GB, free: 202.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.25/14.69, allocations: 0 / 4.068 GB, free: 202.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat does not exist to compare? outputFormat=mat