Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.217/2.217, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001169/0.001169, allocations: 168.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.52/1.52, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009729/0.000973, allocations: 92.02 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.64e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.196/4.473, allocations: 1.755 GB / 2.974 GB, free: 58.05 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/4.473, allocations: 95.94 kB / 2.974 GB, free: 57.96 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9672/5.44, allocations: 128.2 MB / 3.099 GB, free: 388.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.164e-06/5.44, allocations: 0 / 3.099 GB, free: 388.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002824/5.44, allocations: 48.62 kB / 3.099 GB, free: 388.5 MB / 1.167 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.01171/5.452, allocations: 2.241 MB / 3.102 GB, free: 386.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/5.452, allocations: 11.34 kB / 3.102 GB, free: 386.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004202/5.453, allocations: 171.7 kB / 3.102 GB, free: 386.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007575/5.46, allocations: 351.6 kB / 3.102 GB, free: 386.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1162/5.576, allocations: 93.93 MB / 3.194 GB, free: 306.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/5.577, allocations: 90.27 kB / 3.194 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/5.577, allocations: 124 kB / 3.194 GB, free: 305.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/5.578, allocations: 1.164 MB / 3.195 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/5.579, allocations: 0 / 3.195 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/5.579, allocations: 52.56 kB / 3.195 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/5.579, allocations: 28 kB / 3.195 GB, free: 304.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/5.58, allocations: 1.355 MB / 3.197 GB, free: 303.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1456/5.726, allocations: 79.22 MB / 3.274 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/5.728, allocations: 0.9848 MB / 3.275 GB, free: 223 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/5.728, allocations: 392.7 kB / 3.275 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.354e-05/5.728, allocations: 36.33 kB / 3.275 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006799/5.729, allocations: 0.5338 MB / 3.276 GB, free: 222 MB / 1.167 GB Notification: Performance of pre-optimization done (n=88): time 2.856e-06/5.729, allocations: 4 kB / 3.276 GB, free: 222 MB / 1.167 GB Notification: Performance of matching and sorting (n=88): time 0.008887/5.738, allocations: 1.053 MB / 3.277 GB, free: 221 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/5.738, allocations: 248.1 kB / 3.277 GB, free: 220.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1895/5.928, allocations: 103.3 MB / 3.378 GB, free: 117.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004425/5.928, allocations: 45.7 kB / 3.378 GB, free: 117.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/5.929, allocations: 0.9786 MB / 3.379 GB, free: 116.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/5.93, allocations: 291.6 kB / 3.379 GB, free: 116 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/5.93, allocations: 20 kB / 3.379 GB, free: 116 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/5.93, allocations: 345.9 kB / 3.38 GB, free: 115.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/5.93, allocations: 425.9 kB / 3.38 GB, free: 115.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/5.931, allocations: 0.5632 MB / 3.381 GB, free: 114.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/5.932, allocations: 499.2 kB / 3.381 GB, free: 114.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/5.932, allocations: 0 / 3.381 GB, free: 114.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.009845/5.942, allocations: 1.346 MB / 3.382 GB, free: 112.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/5.942, allocations: 4 kB / 3.382 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/5.942, allocations: 4 kB / 3.382 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/5.942, allocations: 87.28 kB / 3.382 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/5.943, allocations: 217.5 kB / 3.383 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/5.945, allocations: 1.515 MB / 3.384 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00838/5.953, allocations: 238.9 kB / 3.384 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/5.954, allocations: 43.98 kB / 3.384 GB, free: 110.6 MB / 1.167 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.0002807/5.954, allocations: 161.5 kB / 3.385 GB, free: 110.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007128/5.961, allocations: 221.2 kB / 3.385 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/5.964, allocations: 1.453 MB / 3.386 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/5.964, allocations: 12 kB / 3.386 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/5.964, allocations: 0 / 3.386 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/5.964, allocations: 7.938 kB / 3.386 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0599/6.024, allocations: 37.24 MB / 3.423 GB, free: 71.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/6.024, allocations: 0 / 3.423 GB, free: 71.45 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/6.025, allocations: 182.9 kB / 3.423 GB, free: 71.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/6.026, allocations: 88.77 kB / 3.423 GB, free: 71.19 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/6.026, allocations: 27.11 kB / 3.423 GB, free: 71.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/6.027, allocations: 1.548 MB / 3.424 GB, free: 69.49 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/6.027, allocations: 0 / 3.424 GB, free: 69.49 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008857/6.036, allocations: 1.253 MB / 3.426 GB, free: 68.21 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04466/6.081, allocations: 20.49 MB / 3.446 GB, free: 47.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008637/6.089, allocations: 31.98 kB / 3.446 GB, free: 47.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007306/6.097, allocations: 184 kB / 3.446 GB, free: 47.49 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/6.097, allocations: 72.89 kB / 3.446 GB, free: 47.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/6.097, allocations: 39.98 kB / 3.446 GB, free: 47.38 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.6493/6.747, allocations: 76.18 MB / 3.52 GB, free: 381.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.11e-07/6.747, allocations: 0 / 3.52 GB, free: 381.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01618/6.763, allocations: 6.052 MB / 3.526 GB, free: 381.3 MB / 1.167 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.01325/6.776, allocations: 3.429 MB / 3.53 GB, free: 380.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001834/6.778, allocations: 1.082 MB / 3.531 GB, free: 379.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/6.778, allocations: 7.312 kB / 3.531 GB, free: 379.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/6.779, allocations: 0.5807 MB / 3.531 GB, free: 379.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006462/6.785, allocations: 354.1 kB / 3.532 GB, free: 379.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/6.801, allocations: 4.347 MB / 3.536 GB, free: 378.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/6.803, allocations: 1.717 MB / 3.537 GB, free: 377.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01642/6.82, allocations: 11.1 MB / 3.548 GB, free: 377.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02076/6.84, allocations: 4.102 MB / 3.552 GB, free: 376.5 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/6.84, allocations: 2.531 kB / 3.552 GB, free: 376.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.286/8.126, allocations: 0.5225 GB / 4.075 GB, free: 222 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/8.126, allocations: 247.9 kB / 4.075 GB, free: 221.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.206/14.33, allocations: 0 / 4.075 GB, free: 221.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat does not exist to compare? outputFormat=mat