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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007607/0.0007606, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008423/0.0008423, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.421/2.421, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003658, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7641, allocations: 146.8 MB / 0.9811 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009794/0.774, allocations: 6.093 MB / 0.9871 GB, free: 96 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.9504, allocations: 141.5 MB / 1.125 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.9522, allocations: 35.81 kB / 1.125 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/0.9571, allocations: 1.635 MB / 1.127 GB, free: 488 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.9605, allocations: 0.9794 MB / 1.128 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.964, allocations: 1.05 MB / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006397/0.9704, allocations: 4.74 MB / 1.134 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.9728, allocations: 0.9099 MB / 1.134 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.9762, allocations: 1.362 MB / 1.136 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.9793, allocations: 1.214 MB / 1.137 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000869/0.9803, allocations: 72 kB / 1.137 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00526/0.9855, allocations: 1.876 MB / 1.139 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004062/0.9896, allocations: 2.951 MB / 1.142 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.9922, allocations: 0.7764 MB / 1.143 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/1.004, allocations: 8.981 MB / 1.151 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/1.004, allocations: 0 / 1.151 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.258e-06/1.004, allocations: 0 / 1.151 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003494/1.005, allocations: 0 / 1.151 GB, free: 7.488 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01626/1.021, allocations: 6.752 MB / 1.158 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.021, allocations: 12.03 kB / 1.158 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005904/1.022, allocations: 227.7 kB / 1.158 GB, free: 416 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/1.025, allocations: 0.6025 MB / 1.159 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8007/1.825, allocations: 275.8 MB / 1.428 GB, free: 94.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/1.826, allocations: 145.1 kB / 1.428 GB, free: 94.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006096/1.826, allocations: 184 kB / 1.428 GB, free: 94.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/1.83, allocations: 1.788 MB / 1.43 GB, free: 92.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/1.83, allocations: 3.938 kB / 1.43 GB, free: 92.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.83, allocations: 65.08 kB / 1.43 GB, free: 92.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/1.83, allocations: 36 kB / 1.43 GB, free: 92.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/1.833, allocations: 1.814 MB / 1.432 GB, free: 90.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05032/1.884, allocations: 70 MB / 1.5 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/1.886, allocations: 1.564 MB / 1.502 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/1.887, allocations: 0.8606 MB / 1.503 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/1.887, allocations: 37.09 kB / 1.503 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/1.889, allocations: 1.024 MB / 1.504 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.935e-06/1.889, allocations: 0 / 1.504 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006794/1.896, allocations: 3.202 MB / 1.507 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.896, allocations: 346.5 kB / 1.507 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9712/2.867, allocations: 316 MB / 1.816 GB, free: 319.2 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000451/2.867, allocations: 65.7 kB / 1.816 GB, free: 319.1 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00409/2.872, allocations: 2.226 MB / 1.818 GB, free: 317 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009045/2.873, allocations: 391.9 kB / 1.818 GB, free: 316.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005561/2.873, allocations: 40 kB / 1.818 GB, free: 316.7 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0004076/2.874, allocations: 385.9 kB / 1.819 GB, free: 316.4 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/2.876, allocations: 1.351 MB / 1.82 GB, free: 315 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/2.879, allocations: 1.668 MB / 1.822 GB, free: 313.3 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/2.881, allocations: 1.66 MB / 1.823 GB, free: 311.6 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/2.881, allocations: 0 / 1.823 GB, free: 311.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007516/2.888, allocations: 3.934 MB / 1.827 GB, free: 307.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/2.889, allocations: 167 kB / 1.827 GB, free: 307.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/2.889, allocations: 8 kB / 1.827 GB, free: 307.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/2.889, allocations: 94.16 kB / 1.827 GB, free: 307.4 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/2.89, allocations: 395.4 kB / 1.828 GB, free: 307 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/2.892, allocations: 1.538 MB / 1.829 GB, free: 305.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/2.896, allocations: 0.6434 MB / 1.83 GB, free: 304.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/2.896, allocations: 87.97 kB / 1.83 GB, free: 304.6 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 228 * 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.003035/2.899, allocations: 2.174 MB / 1.832 GB, free: 302.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/2.901, allocations: 461.9 kB / 1.833 GB, free: 302 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/2.907, allocations: 3.041 MB / 1.836 GB, free: 299 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/2.907, allocations: 12 kB / 1.836 GB, free: 299 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.907, allocations: 3.984 kB / 1.836 GB, free: 299 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/2.907, allocations: 3.984 kB / 1.836 GB, free: 299 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006751/2.913, allocations: 4.082 MB / 1.84 GB, free: 294.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/2.914, allocations: 3.312 kB / 1.84 GB, free: 294.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/2.914, allocations: 191.7 kB / 1.84 GB, free: 294.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/2.915, allocations: 85.59 kB / 1.84 GB, free: 294.6 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/2.915, allocations: 39.97 kB / 1.84 GB, free: 294.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/2.916, allocations: 1.546 MB / 1.841 GB, free: 292.9 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/2.916, allocations: 4.062 kB / 1.841 GB, free: 292.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/2.922, allocations: 2.689 MB / 1.844 GB, free: 290.1 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004064/2.926, allocations: 1.79 MB / 1.846 GB, free: 288.3 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002428/2.929, allocations: 31.95 kB / 1.846 GB, free: 288.3 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003809/2.932, allocations: 435.9 kB / 1.846 GB, free: 287.9 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/2.933, allocations: 96.8 kB / 1.846 GB, free: 287.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/2.933, allocations: 68.66 kB / 1.846 GB, free: 287.7 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.1781/3.111, allocations: 251.6 MB / 2.092 GB, free: 36.05 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.32e-07/3.111, allocations: 0 / 2.092 GB, free: 36.05 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.007411/3.119, allocations: 1.377 MB / 2.093 GB, free: 34.75 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.01026/3.129, allocations: 4.094 MB / 2.097 GB, free: 30.93 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004853/3.134, allocations: 3.974 MB / 2.101 GB, free: 26.94 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/3.134, allocations: 0 / 2.101 GB, free: 26.94 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/3.136, allocations: 1.74 MB / 2.103 GB, free: 25.18 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/3.142, allocations: 0.5576 MB / 2.104 GB, free: 24.62 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.871/5.013, allocations: 0.7809 GB / 2.884 GB, free: 144.3 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/5.017, allocations: 3.015 MB / 2.887 GB, free: 141.3 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.004661/5.021, allocations: 1.685 MB / 2.889 GB, free: 139.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004501/5.026, allocations: 2.334 MB / 2.891 GB, free: 137.5 MB / 1.186 GB Notification: Performance of SimCode: time 2.314e-06/5.026, allocations: 1.641 kB / 2.891 GB, free: 137.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8544/5.88, allocations: 215.8 MB / 3.102 GB, free: 363.8 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/5.88, allocations: 291.9 kB / 3.102 GB, free: 363.4 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.357/11.24, allocations: 4 kB / 3.102 GB, free: 363.4 MB / 1.186 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) Environment - environmentSimulation: 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