Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001195/0.001195, allocations: 176.9 kB / 492.3 MB, free: 0.6328 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.551/1.551, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0008815/0.0008816, allocations: 91.12 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.047e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.157/4.423, allocations: 1.758 GB / 2.97 GB, free: 106.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/4.423, allocations: 98.14 kB / 2.97 GB, free: 106.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9262/5.349, allocations: 106.9 MB / 3.075 GB, free: 368.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.285e-06/5.349, allocations: 0 / 3.075 GB, free: 368.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003834/5.35, allocations: 52.22 kB / 3.075 GB, free: 368.9 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.01245/5.362, allocations: 2.47 MB / 3.077 GB, free: 368.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/5.362, allocations: 9.5 kB / 3.077 GB, free: 368.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002976/5.362, allocations: 169.6 kB / 3.077 GB, free: 368.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006378/5.369, allocations: 349.5 kB / 3.078 GB, free: 367.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1759/5.545, allocations: 94.06 MB / 3.169 GB, free: 333.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/5.545, allocations: 108.1 kB / 3.17 GB, free: 333.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/5.545, allocations: 136 kB / 3.17 GB, free: 333.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/5.548, allocations: 1.352 MB / 3.171 GB, free: 332 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/5.548, allocations: 0 / 3.171 GB, free: 332 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/5.549, allocations: 48 kB / 3.171 GB, free: 331.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/5.549, allocations: 28 kB / 3.171 GB, free: 331.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/5.551, allocations: 1.446 MB / 3.172 GB, free: 330.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1412/5.692, allocations: 79.54 MB / 3.25 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/5.694, allocations: 1.08 MB / 3.251 GB, free: 265.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/5.696, allocations: 0.6227 MB / 3.252 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/5.696, allocations: 39.48 kB / 3.252 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/5.697, allocations: 0.6826 MB / 3.252 GB, free: 264.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=92): time 7.123e-06/5.697, allocations: 0 / 3.252 GB, free: 264.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=92): time 0.01179/5.709, allocations: 1.556 MB / 3.254 GB, free: 262.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002278/5.709, allocations: 386 kB / 3.254 GB, free: 262.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.192/5.901, allocations: 103.5 MB / 3.355 GB, free: 164.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005131/5.902, allocations: 53.7 kB / 3.356 GB, free: 164.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/5.904, allocations: 1.025 MB / 3.357 GB, free: 163.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/5.904, allocations: 306.2 kB / 3.357 GB, free: 163 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/5.904, allocations: 28 kB / 3.357 GB, free: 162.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001657/5.905, allocations: 373.9 kB / 3.357 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/5.906, allocations: 0.9624 MB / 3.358 GB, free: 161.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/5.908, allocations: 1.192 MB / 3.359 GB, free: 160.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/5.909, allocations: 1.231 MB / 3.361 GB, free: 159.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/5.909, allocations: 4 kB / 3.361 GB, free: 159.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01047/5.92, allocations: 2.725 MB / 3.363 GB, free: 156.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/5.92, allocations: 149.6 kB / 3.363 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/5.92, allocations: 4 kB / 3.363 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/5.92, allocations: 8 kB / 3.363 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/5.921, allocations: 299 kB / 3.364 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/5.921, allocations: 11.84 kB / 3.364 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007514/5.929, allocations: 286.2 kB / 3.364 GB, free: 155.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000459/5.929, allocations: 95.83 kB / 3.364 GB, free: 155.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 1 * 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.0006762/5.93, allocations: 327.9 kB / 3.364 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006304/5.936, allocations: 229.1 kB / 3.365 GB, free: 155.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/5.94, allocations: 2.052 MB / 3.367 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/5.94, allocations: 12 kB / 3.367 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/5.94, allocations: 3.219 kB / 3.367 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/5.94, allocations: 3.984 kB / 3.367 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05162/5.992, allocations: 38.01 MB / 3.404 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/5.992, allocations: 0 / 3.404 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007424/5.993, allocations: 155.3 kB / 3.404 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/5.993, allocations: 10.89 kB / 3.404 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/5.993, allocations: 34.8 kB / 3.404 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/5.993, allocations: 4 kB / 3.404 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/5.993, allocations: 3.719 kB / 3.404 GB, free: 114.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008954/6.002, allocations: 1.919 MB / 3.406 GB, free: 112.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03701/6.039, allocations: 20.55 MB / 3.426 GB, free: 92.22 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008282/6.047, allocations: 28 kB / 3.426 GB, free: 92.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007649/6.055, allocations: 188.6 kB / 3.426 GB, free: 92.02 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/6.055, allocations: 64.69 kB / 3.426 GB, free: 91.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003473/6.056, allocations: 75.92 kB / 3.426 GB, free: 91.88 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.08327/6.139, allocations: 76.35 MB / 3.501 GB, free: 15.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.61e-07/6.139, allocations: 0 / 3.501 GB, free: 15.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01332/6.152, allocations: 6.084 MB / 3.507 GB, free: 9.43 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.01455/6.167, allocations: 3.592 MB / 3.51 GB, free: 6.184 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003603/6.171, allocations: 3.09 MB / 3.513 GB, free: 3.113 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/6.171, allocations: 0.7656 kB / 3.513 GB, free: 3.113 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/6.172, allocations: 1.322 MB / 3.514 GB, free: 1.793 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007399/6.179, allocations: 336 kB / 3.515 GB, free: 1.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6402/6.82, allocations: 4.857 MB / 3.52 GB, free: 363.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/6.821, allocations: 1.785 MB / 3.521 GB, free: 362.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02012/6.842, allocations: 11.11 MB / 3.532 GB, free: 362.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02079/6.862, allocations: 4.136 MB / 3.536 GB, free: 362.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/6.863, allocations: 0 / 3.536 GB, free: 362.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.376/8.238, allocations: 0.5159 GB / 4.052 GB, free: 179.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/8.239, allocations: 217.6 kB / 4.052 GB, free: 179.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.614/13.85, allocations: 0 / 4.052 GB, free: 179.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat does not exist to compare? outputFormat=mat