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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001458/0.001458, allocations: 177.3 kB / 15.94 MB, free: 228 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.28/1.28, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002903, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5285, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005242/0.5338, allocations: 5.918 MB / 0.9594 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.6645, allocations: 132.4 MB / 1.089 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.6656, allocations: 31.75 kB / 1.089 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.6691, allocations: 1.437 MB / 1.09 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.671, allocations: 1.031 MB / 1.091 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.6732, allocations: 1.039 MB / 1.092 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002411/0.6757, allocations: 2.71 MB / 1.095 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009617/0.6766, allocations: 0.9216 MB / 1.096 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.678, allocations: 1.288 MB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.679, allocations: 1.08 MB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.6792, allocations: 68 kB / 1.098 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.6816, allocations: 1.79 MB / 1.1 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.6835, allocations: 2.861 MB / 1.103 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005779/0.684, allocations: 0.7841 MB / 1.103 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.6903, allocations: 8.981 MB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6903, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6903, allocations: 4 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.792e-05/0.6904, allocations: 0 / 1.112 GB, free: 13.43 MB / 0.8731 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.0106/0.701, allocations: 6.752 MB / 1.119 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.701, allocations: 12.03 kB / 1.119 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.7013, allocations: 219.7 kB / 1.119 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.7029, allocations: 0.6103 MB / 1.12 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5588/1.262, allocations: 255.6 MB / 1.369 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/1.262, allocations: 138.9 kB / 1.369 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/1.262, allocations: 184 kB / 1.369 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/1.264, allocations: 1.772 MB / 1.371 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/1.264, allocations: 7.938 kB / 1.371 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.264, allocations: 64 kB / 1.371 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/1.264, allocations: 39.67 kB / 1.371 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/1.266, allocations: 1.814 MB / 1.373 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/1.305, allocations: 69.98 MB / 1.441 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/1.307, allocations: 1.59 MB / 1.443 GB, free: 99.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/1.308, allocations: 35.22 kB / 1.443 GB, free: 99.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.309, allocations: 1.02 MB / 1.444 GB, free: 98.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.364e-06/1.309, allocations: 4 kB / 1.444 GB, free: 98.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.005732/1.314, allocations: 3.288 MB / 1.447 GB, free: 95.44 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.314, allocations: 347.6 kB / 1.447 GB, free: 95.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6886/2.003, allocations: 316 MB / 1.756 GB, free: 361.1 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003445/2.004, allocations: 61.7 kB / 1.756 GB, free: 361 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002204/2.006, allocations: 2.234 MB / 1.758 GB, free: 359 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/2.006, allocations: 384.6 kB / 1.759 GB, free: 358.7 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/2.006, allocations: 36 kB / 1.759 GB, free: 358.6 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/2.006, allocations: 398.1 kB / 1.759 GB, free: 358.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/2.008, allocations: 1.347 MB / 1.76 GB, free: 356.9 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/2.009, allocations: 1.658 MB / 1.762 GB, free: 355.1 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/2.011, allocations: 1.665 MB / 1.764 GB, free: 353.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/2.011, allocations: 0 / 1.764 GB, free: 353.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005812/2.017, allocations: 3.931 MB / 1.768 GB, free: 349.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/2.017, allocations: 173.5 kB / 1.768 GB, free: 349.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/2.017, allocations: 4 kB / 1.768 GB, free: 349.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/2.017, allocations: 94.92 kB / 1.768 GB, free: 349.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/2.019, allocations: 397.8 kB / 1.768 GB, free: 348.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/2.02, allocations: 1.545 MB / 1.77 GB, free: 347.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/2.024, allocations: 0.6348 MB / 1.77 GB, free: 346.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/2.024, allocations: 95.69 kB / 1.77 GB, free: 346.5 MB / 1.139 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.002344/2.026, allocations: 2.16 MB / 1.772 GB, free: 344.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/2.027, allocations: 457.9 kB / 1.773 GB, free: 343.9 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/2.032, allocations: 3.047 MB / 1.776 GB, free: 340.8 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/2.032, allocations: 12 kB / 1.776 GB, free: 340.8 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/2.032, allocations: 0 / 1.776 GB, free: 340.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/2.032, allocations: 11.97 kB / 1.776 GB, free: 340.8 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/2.035, allocations: 4.1 MB / 1.78 GB, free: 336.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.035, allocations: 0 / 1.78 GB, free: 336.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/2.036, allocations: 179.8 kB / 1.78 GB, free: 336.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/2.037, allocations: 92.61 kB / 1.78 GB, free: 336.4 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.263e-05/2.037, allocations: 39.97 kB / 1.78 GB, free: 336.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/2.038, allocations: 1.554 MB / 1.782 GB, free: 334.7 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.038, allocations: 3.984 kB / 1.782 GB, free: 334.7 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/2.042, allocations: 2.686 MB / 1.784 GB, free: 332 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002947/2.045, allocations: 1.798 MB / 1.786 GB, free: 330.1 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008386/2.046, allocations: 28 kB / 1.786 GB, free: 330.1 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/2.048, allocations: 442.8 kB / 1.787 GB, free: 329.7 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/2.048, allocations: 98.11 kB / 1.787 GB, free: 329.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/2.049, allocations: 59.92 kB / 1.787 GB, free: 329.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1477/2.196, allocations: 251.6 MB / 2.032 GB, free: 77.89 MB / 1.139 GB Notification: Performance of sort global known variables: time 6.01e-07/2.196, allocations: 0 / 2.032 GB, free: 77.89 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004386/2.201, allocations: 1.382 MB / 2.034 GB, free: 76.59 MB / 1.139 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.007585/2.208, allocations: 4.103 MB / 2.038 GB, free: 72.72 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004265/2.213, allocations: 3.982 MB / 2.042 GB, free: 68.72 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/2.213, allocations: 0 / 2.042 GB, free: 68.72 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/2.214, allocations: 1.728 MB / 2.043 GB, free: 66.97 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/2.217, allocations: 0.541 MB / 2.044 GB, free: 66.43 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/2.234, allocations: 17.88 MB / 2.061 GB, free: 48.01 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/2.236, allocations: 3.111 MB / 2.064 GB, free: 44.88 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003043/2.239, allocations: 1.681 MB / 2.066 GB, free: 43.19 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/2.242, allocations: 2.331 MB / 2.068 GB, free: 40.86 MB / 1.139 GB Notification: Performance of SimCode: time 6.92e-07/2.242, allocations: 0 / 2.068 GB, free: 40.86 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/3.25, allocations: 212.7 MB / 2.276 GB, free: 267.4 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/3.251, allocations: 282.4 kB / 2.276 GB, free: 267.1 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.945/9.196, allocations: 0 / 2.276 GB, free: 267.1 MB / 1.139 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