Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.198/2.198, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001549/0.001549, allocations: 188 kB / 492.3 MB, free: 0.5977 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.449/1.449, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009607/0.000961, allocations: 94.52 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.199e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2315, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.027/4.259, allocations: 1.763 GB / 2.975 GB, free: 101.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/4.259, allocations: 95.95 kB / 2.975 GB, free: 101.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.18/5.439, allocations: 197.9 MB / 3.168 GB, free: 350.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.218e-06/5.439, allocations: 0 / 3.168 GB, free: 350.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009691/5.44, allocations: 89.23 kB / 3.168 GB, free: 350.8 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.03615/5.477, allocations: 4.004 MB / 3.172 GB, free: 348 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/5.477, allocations: 10.03 kB / 3.172 GB, free: 348 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007306/5.477, allocations: 215.8 kB / 3.173 GB, free: 347.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02395/5.501, allocations: 0.6008 MB / 3.173 GB, free: 347.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3611/5.862, allocations: 291.6 MB / 3.458 GB, free: 61.24 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/5.863, allocations: 130.6 kB / 3.458 GB, free: 61.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/5.863, allocations: 172 kB / 3.458 GB, free: 60.94 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/5.866, allocations: 1.764 MB / 3.46 GB, free: 59.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/5.866, allocations: 0 / 3.46 GB, free: 59.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/5.866, allocations: 64 kB / 3.46 GB, free: 59.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/5.866, allocations: 32 kB / 3.46 GB, free: 59.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/5.868, allocations: 1.8 MB / 3.462 GB, free: 57.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.264/7.132, allocations: 259 MB / 3.715 GB, free: 230.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/7.135, allocations: 1.422 MB / 3.716 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/7.136, allocations: 0.7959 MB / 3.717 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/7.136, allocations: 37.78 kB / 3.717 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/7.137, allocations: 0.9097 MB / 3.718 GB, free: 227.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 3.527e-06/7.137, allocations: 0 / 3.718 GB, free: 227.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=105): time 0.02653/7.164, allocations: 2.172 MB / 3.72 GB, free: 225.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002182/7.164, allocations: 391 kB / 3.72 GB, free: 224.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.385/8.549, allocations: 321 MB / 4.034 GB, free: 356.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008528/8.55, allocations: 63.16 kB / 4.034 GB, free: 356.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00382/8.554, allocations: 2.167 MB / 4.036 GB, free: 354.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/8.555, allocations: 356.2 kB / 4.036 GB, free: 354.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/8.555, allocations: 32.59 kB / 4.036 GB, free: 354.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001529/8.555, allocations: 389.9 kB / 4.037 GB, free: 354 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/8.557, allocations: 1.273 MB / 4.038 GB, free: 352.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/8.559, allocations: 1.598 MB / 4.04 GB, free: 351.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/8.561, allocations: 1.607 MB / 4.041 GB, free: 349.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/8.561, allocations: 0 / 4.041 GB, free: 349.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.03008/8.591, allocations: 3.774 MB / 4.045 GB, free: 346.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001946/8.591, allocations: 171.1 kB / 4.045 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/8.591, allocations: 4 kB / 4.045 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/8.592, allocations: 93.81 kB / 4.045 GB, free: 346.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/8.594, allocations: 374 kB / 4.045 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/8.596, allocations: 1.533 MB / 4.047 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02468/8.62, allocations: 0.5629 MB / 4.047 GB, free: 343.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008554/8.621, allocations: 109.8 kB / 4.048 GB, free: 343.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (213): * Single equations (assignments): 211 * 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: 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.000612/8.622, allocations: 365.9 kB / 4.048 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02316/8.645, allocations: 466.1 kB / 4.048 GB, free: 343 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/8.652, allocations: 2.85 MB / 4.051 GB, free: 340.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/8.652, allocations: 8 kB / 4.051 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/8.652, allocations: 3.5 kB / 4.051 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/8.652, allocations: 6.422 kB / 4.051 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.228/8.88, allocations: 127 MB / 4.175 GB, free: 233 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/8.88, allocations: 0 / 4.175 GB, free: 233 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/8.881, allocations: 177.7 kB / 4.175 GB, free: 232.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008049/8.882, allocations: 88.11 kB / 4.175 GB, free: 232.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/8.882, allocations: 38.03 kB / 4.175 GB, free: 232.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/8.885, allocations: 1.542 MB / 4.177 GB, free: 231.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/8.885, allocations: 0 / 4.177 GB, free: 231.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03869/8.923, allocations: 2.588 MB / 4.179 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1078/9.031, allocations: 64 MB / 4.242 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02871/9.06, allocations: 42.72 kB / 4.242 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02317/9.083, allocations: 432.3 kB / 4.242 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000538/9.084, allocations: 83.12 kB / 4.242 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/9.084, allocations: 81.89 kB / 4.243 GB, free: 163.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.9787/10.06, allocations: 235.3 MB / 4.472 GB, free: 341 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.342e-06/10.06, allocations: 0 / 4.472 GB, free: 341 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.03603/10.1, allocations: 16.37 MB / 4.488 GB, free: 338.9 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 (104): * Single equations (assignments): 100 * 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: 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.03123/10.13, allocations: 4.843 MB / 4.493 GB, free: 335.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004948/10.14, allocations: 3.837 MB / 4.497 GB, free: 331.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/10.14, allocations: 4 kB / 4.497 GB, free: 331.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/10.14, allocations: 1.67 MB / 4.498 GB, free: 330 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02059/10.16, allocations: 0.5475 MB / 4.499 GB, free: 329.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04363/10.2, allocations: 9.845 MB / 4.509 GB, free: 320.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/10.2, allocations: 3.051 MB / 4.512 GB, free: 318.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04287/10.25, allocations: 32.74 MB / 4.544 GB, free: 286.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06014/10.31, allocations: 11.46 MB / 4.555 GB, free: 279.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/10.31, allocations: 2.281 kB / 4.555 GB, free: 279.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.389/14.7, allocations: 1.545 GB / 6.099 GB, free: 6.488 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/14.7, allocations: 241.9 kB / 6.1 GB, free: 6.168 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/27.06, allocations: 0 / 6.1 GB, free: 6.168 MB / 1.292 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat does not exist to compare? outputFormat=mat