Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.25/2.25, 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.001135/0.001135, allocations: 176.9 kB / 496.1 MB, free: 12.89 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.446/1.446, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001186/0.001186, allocations: 84.02 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.67e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2583, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.764/4.023, allocations: 1.763 GB / 2.982 GB, free: 35.83 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/4.023, allocations: 96.72 kB / 2.982 GB, free: 35.73 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.089/5.112, allocations: 197.9 MB / 3.176 GB, free: 298.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.134e-06/5.112, allocations: 0 / 3.176 GB, free: 298.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008176/5.113, allocations: 91.92 kB / 3.176 GB, free: 298.4 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.03153/5.145, allocations: 3.995 MB / 3.18 GB, free: 294.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/5.145, allocations: 12.03 kB / 3.18 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007421/5.145, allocations: 206.8 kB / 3.18 GB, free: 294.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02109/5.166, allocations: 0.6027 MB / 3.18 GB, free: 293.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3478/5.514, allocations: 291.6 MB / 3.465 GB, free: 1.758 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/5.514, allocations: 130.6 kB / 3.465 GB, free: 1.629 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/5.515, allocations: 179.9 kB / 3.465 GB, free: 1.453 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7472/6.262, allocations: 1.748 MB / 3.467 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.761e-05/6.262, allocations: 1.75 kB / 3.467 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005285/6.263, allocations: 57.34 kB / 3.467 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.653e-05/6.263, allocations: 32.97 kB / 3.467 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004543/6.267, allocations: 1.809 MB / 3.469 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4778/6.745, allocations: 259 MB / 3.722 GB, free: 175 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/6.747, allocations: 1.42 MB / 3.723 GB, free: 173.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008239/6.748, allocations: 0.7963 MB / 3.724 GB, free: 172.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/6.748, allocations: 36.33 kB / 3.724 GB, free: 172.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/6.75, allocations: 0.9081 MB / 3.725 GB, free: 171.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=105): time 2.334e-06/6.75, allocations: 0 / 3.725 GB, free: 171.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=105): time 0.0247/6.774, allocations: 2.167 MB / 3.727 GB, free: 169.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/6.774, allocations: 399.9 kB / 3.727 GB, free: 169.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.443/8.218, allocations: 321 MB / 4.041 GB, free: 290.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006265/8.219, allocations: 57.7 kB / 4.041 GB, free: 290 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002817/8.221, allocations: 2.176 MB / 4.043 GB, free: 288.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00042/8.222, allocations: 351.5 kB / 4.043 GB, free: 287.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/8.222, allocations: 36 kB / 4.044 GB, free: 287.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001077/8.222, allocations: 390.1 kB / 4.044 GB, free: 287.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/8.224, allocations: 1.268 MB / 4.045 GB, free: 286.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/8.225, allocations: 1.598 MB / 4.047 GB, free: 284.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/8.227, allocations: 1.605 MB / 4.048 GB, free: 283.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/8.227, allocations: 4 kB / 4.048 GB, free: 283.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.02482/8.252, allocations: 3.778 MB / 4.052 GB, free: 279.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/8.252, allocations: 169.9 kB / 4.052 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/8.252, allocations: 7.656 kB / 4.052 GB, free: 279.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/8.252, allocations: 89.77 kB / 4.052 GB, free: 279.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/8.254, allocations: 375.7 kB / 4.053 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/8.255, allocations: 1.524 MB / 4.054 GB, free: 277.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0197/8.275, allocations: 0.5598 MB / 4.055 GB, free: 277.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/8.275, allocations: 123.1 kB / 4.055 GB, free: 277.3 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.0004628/8.276, allocations: 352.1 kB / 4.055 GB, free: 277 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01944/8.295, allocations: 475.1 kB / 4.055 GB, free: 276.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/8.301, allocations: 2.846 MB / 4.058 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/8.301, allocations: 12 kB / 4.058 GB, free: 274 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/8.301, allocations: 0 / 4.058 GB, free: 274 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/8.301, allocations: 11.17 kB / 4.058 GB, free: 274 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1712/8.472, allocations: 127 MB / 4.182 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/8.472, allocations: 4 kB / 4.182 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/8.473, allocations: 178.2 kB / 4.182 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/8.474, allocations: 87.17 kB / 4.183 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/8.474, allocations: 42.5 kB / 4.183 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/8.475, allocations: 1.548 MB / 4.184 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/8.475, allocations: 3.984 kB / 4.184 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/8.5, allocations: 2.573 MB / 4.187 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1036/8.604, allocations: 64 MB / 4.249 GB, free: 98.78 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02375/8.628, allocations: 40 kB / 4.249 GB, free: 98.74 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01965/8.647, allocations: 441.9 kB / 4.25 GB, free: 98.32 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/8.648, allocations: 72.89 kB / 4.25 GB, free: 98.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003225/8.648, allocations: 93.62 kB / 4.25 GB, free: 98.16 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.902/9.55, allocations: 235.3 MB / 4.48 GB, free: 287.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.91e-07/9.55, allocations: 4 kB / 4.48 GB, free: 287.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02982/9.58, allocations: 16.36 MB / 4.496 GB, free: 271.4 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.02605/9.606, allocations: 4.857 MB / 4.5 GB, free: 267.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004074/9.61, allocations: 3.831 MB / 4.504 GB, free: 264.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/9.61, allocations: 1.156 kB / 4.504 GB, free: 264.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/9.612, allocations: 1.673 MB / 4.506 GB, free: 262.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01737/9.629, allocations: 0.5424 MB / 4.506 GB, free: 262.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03812/9.667, allocations: 9.836 MB / 4.516 GB, free: 253.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/9.67, allocations: 3.054 MB / 4.519 GB, free: 251.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03804/9.708, allocations: 32.74 MB / 4.551 GB, free: 219 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0551/9.763, allocations: 11.46 MB / 4.562 GB, free: 211.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/9.763, allocations: 0 / 4.562 GB, free: 211.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.03/13.79, allocations: 1.545 GB / 6.107 GB, free: 2.75 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/13.79, allocations: 246.8 kB / 6.107 GB, free: 2.414 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/25.45, allocations: 4 kB / 6.107 GB, free: 2.41 MB / 1.307 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat does not exist to compare? outputFormat=mat