Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_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.001051/0.001051, allocations: 86.72 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.001304/0.001304, 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.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 27.88 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.6589, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005774/0.6648, allocations: 4.994 MB / 0.986 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1394/0.8042, allocations: 140.5 MB / 1.123 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.8053, allocations: 23.88 kB / 1.123 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.8094, allocations: 1.514 MB / 1.125 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.8119, allocations: 0.6564 MB / 1.125 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.8141, allocations: 0.732 MB / 1.126 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002733/0.8169, allocations: 2.203 MB / 1.128 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.8182, allocations: 0.7479 MB / 1.129 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.8194, allocations: 0.6533 MB / 1.13 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.8207, allocations: 0.6803 MB / 1.13 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003155/0.821, allocations: 40 kB / 1.13 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.8244, allocations: 1.853 MB / 1.132 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.8256, allocations: 1.095 MB / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.8263, allocations: 408.3 kB / 1.134 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.8316, allocations: 4.19 MB / 1.138 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.8316, allocations: 7.938 kB / 1.138 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8316, allocations: 0 / 1.138 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001685/0.8318, allocations: 0 / 1.138 GB, free: 5.477 MB / 0.8887 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.008505/0.8403, allocations: 3.294 MB / 1.141 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.8404, allocations: 8.031 kB / 1.141 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000486/0.8409, allocations: 194.1 kB / 1.141 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.8427, allocations: 360.3 kB / 1.141 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08484/0.9275, allocations: 87.53 MB / 1.227 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.9277, allocations: 102.5 kB / 1.227 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.928, allocations: 132 kB / 1.227 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.9306, allocations: 1.349 MB / 1.228 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.9307, allocations: 11.98 kB / 1.228 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.9308, allocations: 56 kB / 1.229 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.9309, allocations: 28 kB / 1.229 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.9334, allocations: 1.496 MB / 1.23 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5262/1.46, allocations: 23.47 MB / 1.253 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/1.462, allocations: 1.13 MB / 1.254 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/1.463, allocations: 442.3 kB / 1.254 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/1.463, allocations: 39.66 kB / 1.255 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/1.464, allocations: 0.6493 MB / 1.255 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 3.016e-06/1.464, allocations: 0.8125 kB / 1.255 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004409/1.469, allocations: 1.749 MB / 1.257 GB, free: 265 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/1.469, allocations: 193 kB / 1.257 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08493/1.554, allocations: 99.43 MB / 1.354 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002869/1.554, allocations: 53.7 kB / 1.354 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/1.555, allocations: 1.065 MB / 1.355 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.555, allocations: 320 kB / 1.356 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/1.555, allocations: 31.69 kB / 1.356 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/1.555, allocations: 345.9 kB / 1.356 GB, free: 174 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/1.556, allocations: 494.4 kB / 1.356 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/1.557, allocations: 0.623 MB / 1.357 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/1.558, allocations: 0.5442 MB / 1.358 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.558, allocations: 7.438 kB / 1.358 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002776/1.561, allocations: 1.497 MB / 1.359 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.561, allocations: 8 kB / 1.359 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.561, allocations: 3.719 kB / 1.359 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000511/1.561, allocations: 92.55 kB / 1.359 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/1.562, allocations: 243.4 kB / 1.359 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/1.564, allocations: 1.517 MB / 1.361 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.565, allocations: 283.7 kB / 1.361 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/1.565, allocations: 51.91 kB / 1.361 GB, free: 168.6 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.001148/1.566, allocations: 0.8143 MB / 1.362 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/1.567, allocations: 217.2 kB / 1.362 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/1.57, allocations: 1.635 MB / 1.364 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.57, allocations: 12 kB / 1.364 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.57, allocations: 4 kB / 1.364 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.57, allocations: 7.938 kB / 1.364 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/1.572, allocations: 1.964 MB / 1.366 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.572, allocations: 0 / 1.366 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/1.573, allocations: 187.7 kB / 1.366 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/1.573, allocations: 84.77 kB / 1.366 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/1.573, allocations: 31.97 kB / 1.366 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/1.575, allocations: 1.543 MB / 1.367 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.575, allocations: 3.953 kB / 1.367 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/1.578, allocations: 1.365 MB / 1.369 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.579, allocations: 0.7786 MB / 1.37 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/1.579, allocations: 23.95 kB / 1.37 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.58, allocations: 199.9 kB / 1.37 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/1.581, allocations: 84.88 kB / 1.37 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/1.581, allocations: 47.97 kB / 1.37 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05395/1.635, allocations: 79.42 MB / 1.447 GB, free: 79.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.635, allocations: 0 / 1.447 GB, free: 79.92 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003391/1.638, allocations: 0.9901 MB / 1.448 GB, free: 79.01 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.00537/1.644, allocations: 2.766 MB / 1.451 GB, free: 76.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002038/1.646, allocations: 1.245 MB / 1.452 GB, free: 75.28 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.646, allocations: 4.312 kB / 1.452 GB, free: 75.28 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009309/1.647, allocations: 0.6694 MB / 1.453 GB, free: 74.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.649, allocations: 368.6 kB / 1.453 GB, free: 74.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7668/2.415, allocations: 252.6 MB / 1.7 GB, free: 437.5 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/2.417, allocations: 1.72 MB / 1.702 GB, free: 436.7 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002712/2.42, allocations: 0.7761 MB / 1.702 GB, free: 436.7 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.422, allocations: 1.098 MB / 1.704 GB, free: 436.3 MB / 1.17 GB Notification: Performance of SimCode: time 1.032e-06/2.422, allocations: 3.562 kB / 1.704 GB, free: 436.3 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/2.541, allocations: 88.57 MB / 1.79 GB, free: 359.5 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/2.541, allocations: 291.5 kB / 1.79 GB, free: 359.1 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/6.253, allocations: 2.344 kB / 1.79 GB, free: 359.1 MB / 1.17 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat does not exist to compare? outputFormat=mat