Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.00105/0.00105, allocations: 100.1 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.001223/0.001223, allocations: 177.3 kB / 15.95 MB, free: 216 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.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.391 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.068/2.068, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.509, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.004479/0.5136, allocations: 4.835 MB / 0.9583 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1303/0.6439, allocations: 131.4 MB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.6448, allocations: 23.88 kB / 1.087 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.6481, allocations: 1.304 MB / 1.088 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.6499, allocations: 0.731 MB / 1.089 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.6517, allocations: 0.7252 MB / 1.089 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.6535, allocations: 1.403 MB / 1.091 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009286/0.6544, allocations: 0.7634 MB / 1.091 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/0.6552, allocations: 0.6263 MB / 1.092 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006889/0.6559, allocations: 0.6103 MB / 1.093 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.656, allocations: 40 kB / 1.093 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.6588, allocations: 1.759 MB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008019/0.6596, allocations: 1.06 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.6599, allocations: 412.3 kB / 1.096 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.6642, allocations: 4.198 MB / 1.1 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.6642, allocations: 4 kB / 1.1 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6642, allocations: 4 kB / 1.1 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.88e-05/0.6643, allocations: 0 / 1.1 GB, free: 9.934 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005771/0.67, allocations: 3.298 MB / 1.103 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.6701, allocations: 8.031 kB / 1.103 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.6703, allocations: 190.1 kB / 1.103 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.6714, allocations: 360.3 kB / 1.104 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06748/0.7389, allocations: 80.78 MB / 1.183 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.834e-05/0.7391, allocations: 110.5 kB / 1.183 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.7393, allocations: 132 kB / 1.183 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.7416, allocations: 1.341 MB / 1.184 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.7417, allocations: 0 / 1.184 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.7418, allocations: 52 kB / 1.184 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.7418, allocations: 32 kB / 1.184 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.7441, allocations: 1.496 MB / 1.186 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.7646, allocations: 23.48 MB / 1.209 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.7669, allocations: 1.143 MB / 1.21 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.767, allocations: 33.02 kB / 1.21 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009626/0.7679, allocations: 0.6567 MB / 1.21 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=100): time 2.665e-06/0.768, allocations: 0 / 1.21 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100): time 0.003995/0.772, allocations: 1.734 MB / 1.212 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.7721, allocations: 204.9 kB / 1.212 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4892/1.261, allocations: 99.44 MB / 1.309 GB, free: 242 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/1.261, allocations: 53.7 kB / 1.309 GB, free: 241.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008466/1.262, allocations: 1.056 MB / 1.31 GB, free: 241 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/1.263, allocations: 321 kB / 1.311 GB, free: 240.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/1.263, allocations: 27.75 kB / 1.311 GB, free: 240.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.253e-05/1.263, allocations: 349.9 kB / 1.311 GB, free: 240.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/1.264, allocations: 496.1 kB / 1.312 GB, free: 239.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/1.264, allocations: 0.6195 MB / 1.312 GB, free: 239.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/1.265, allocations: 0.5424 MB / 1.313 GB, free: 238.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.265, allocations: 0 / 1.313 GB, free: 238.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00259/1.268, allocations: 1.511 MB / 1.314 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.268, allocations: 8 kB / 1.314 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.268, allocations: 0 / 1.314 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005285/1.268, allocations: 88.27 kB / 1.314 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/1.269, allocations: 244 kB / 1.315 GB, free: 236.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/1.271, allocations: 1.527 MB / 1.316 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.272, allocations: 278.3 kB / 1.316 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/1.272, allocations: 51.97 kB / 1.316 GB, free: 234.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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.0008672/1.273, allocations: 0.8164 MB / 1.317 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/1.274, allocations: 223.4 kB / 1.317 GB, free: 233.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/1.276, allocations: 1.636 MB / 1.319 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.276, allocations: 12 kB / 1.319 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/1.276, allocations: 3.094 kB / 1.319 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/1.276, allocations: 3.984 kB / 1.319 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/1.278, allocations: 1.97 MB / 1.321 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.278, allocations: 3.688 kB / 1.321 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/1.279, allocations: 183.8 kB / 1.321 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/1.279, allocations: 88.42 kB / 1.321 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/1.279, allocations: 31.98 kB / 1.321 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/1.281, allocations: 1.552 MB / 1.323 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.281, allocations: 64 / 1.323 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/1.283, allocations: 1.372 MB / 1.324 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.284, allocations: 0.7708 MB / 1.325 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004179/1.284, allocations: 27.98 kB / 1.325 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.285, allocations: 202.2 kB / 1.325 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.286, allocations: 88.88 kB / 1.325 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/1.286, allocations: 49.72 kB / 1.325 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04703/1.333, allocations: 79.43 MB / 1.403 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.333, allocations: 1.969 kB / 1.403 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001944/1.335, allocations: 0.9941 MB / 1.404 GB, free: 145.3 MB / 0.9981 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.004515/1.339, allocations: 2.756 MB / 1.406 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001798/1.341, allocations: 1.241 MB / 1.408 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.341, allocations: 0 / 1.408 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/1.342, allocations: 0.6769 MB / 1.408 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.343, allocations: 357.6 kB / 1.409 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008284/1.351, allocations: 7.197 MB / 1.416 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.353, allocations: 1.766 MB / 1.417 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001492/1.354, allocations: 0.7724 MB / 1.418 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.355, allocations: 1.097 MB / 1.419 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.355, allocations: 0 / 1.419 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.448/2.803, allocations: 87.3 MB / 1.504 GB, free: 43.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/2.804, allocations: 274.8 kB / 1.505 GB, free: 42.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.451/7.255, allocations: 0 / 1.505 GB, free: 42.88 MB / 0.9981 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat does not exist to compare? outputFormat=mat