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.0006901/0.0006901, 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.0007116/0.0007117, 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.123/1.123, 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 9.1.1-maint.9.1.x/package.mo): time 2.005/2.005, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5046, allocations: 142.3 MB / 0.9539 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.004117/0.5087, allocations: 4.981 MB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.6345, allocations: 140.6 MB / 1.096 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.6353, allocations: 19.88 kB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003382/0.6387, allocations: 1.507 MB / 1.097 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.6405, allocations: 0.6593 MB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.6423, allocations: 0.7339 MB / 1.099 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.6444, allocations: 2.197 MB / 1.101 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008609/0.6453, allocations: 0.7595 MB / 1.102 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000721/0.646, allocations: 0.6494 MB / 1.102 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.6468, allocations: 0.6842 MB / 1.103 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.87e-05/0.6469, allocations: 44 kB / 1.103 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.6495, allocations: 1.841 MB / 1.105 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000761/0.6503, allocations: 1.091 MB / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.6506, allocations: 416.3 kB / 1.106 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.6539, allocations: 4.186 MB / 1.11 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6539, allocations: 3.938 kB / 1.11 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6539, allocations: 0 / 1.11 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.6539, allocations: 4 kB / 1.11 GB, free: 15.38 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004742/0.6587, allocations: 3.294 MB / 1.114 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.6587, allocations: 11.97 kB / 1.114 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.6589, allocations: 190.1 kB / 1.114 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/0.6599, allocations: 356.3 kB / 1.114 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07161/0.7315, allocations: 87.53 MB / 1.2 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.7316, allocations: 102.5 kB / 1.2 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.7318, allocations: 128 kB / 1.2 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.7338, allocations: 1.368 MB / 1.201 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7338, allocations: 0 / 1.201 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/0.7339, allocations: 52 kB / 1.201 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.734, allocations: 32 kB / 1.201 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.736, allocations: 1.496 MB / 1.203 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.7541, allocations: 23.48 MB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.7559, allocations: 1.112 MB / 1.227 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.7566, allocations: 453.1 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-05/0.7566, allocations: 37.11 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009124/0.7576, allocations: 0.649 MB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=100): time 2.244e-06/0.7576, allocations: 0 / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100): time 0.00345/0.761, allocations: 1.757 MB / 1.23 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.7611, allocations: 192.9 kB / 1.23 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4489/1.21, allocations: 99.43 MB / 1.327 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/1.21, allocations: 45.7 kB / 1.327 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/1.211, allocations: 1.06 MB / 1.328 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/1.211, allocations: 325.2 kB / 1.328 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/1.211, allocations: 20 kB / 1.328 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/1.211, allocations: 353.9 kB / 1.329 GB, free: 223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/1.212, allocations: 486.3 kB / 1.329 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/1.213, allocations: 0.632 MB / 1.33 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/1.213, allocations: 0.5461 MB / 1.33 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.214, allocations: 0.875 kB / 1.33 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00232/1.216, allocations: 1.507 MB / 1.332 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.216, allocations: 11.78 kB / 1.332 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.216, allocations: 0 / 1.332 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/1.216, allocations: 84.02 kB / 1.332 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/1.217, allocations: 243.6 kB / 1.332 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/1.219, allocations: 1.514 MB / 1.334 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.22, allocations: 288.5 kB / 1.334 GB, free: 217.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/1.22, allocations: 47.97 kB / 1.334 GB, free: 217.5 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.000743/1.221, allocations: 0.814 MB / 1.335 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/1.221, allocations: 218.8 kB / 1.335 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/1.223, allocations: 1.639 MB / 1.336 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.223, allocations: 12 kB / 1.336 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.223, allocations: 0 / 1.336 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.223, allocations: 7.969 kB / 1.336 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/1.225, allocations: 1.975 MB / 1.338 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.225, allocations: 0 / 1.338 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/1.225, allocations: 180.8 kB / 1.339 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/1.226, allocations: 85.16 kB / 1.339 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/1.226, allocations: 27.98 kB / 1.339 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.227, allocations: 1.551 MB / 1.34 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.227, allocations: 0 / 1.34 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/1.229, allocations: 1.365 MB / 1.342 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007361/1.23, allocations: 0.7708 MB / 1.342 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/1.23, allocations: 27.98 kB / 1.342 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009631/1.231, allocations: 204.5 kB / 1.342 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.231, allocations: 84.88 kB / 1.343 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/1.231, allocations: 55.67 kB / 1.343 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.04441/1.276, allocations: 79.42 MB / 1.42 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.276, allocations: 0 / 1.42 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00151/1.277, allocations: 0.992 MB / 1.421 GB, free: 128 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.003784/1.281, allocations: 2.753 MB / 1.424 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001561/1.283, allocations: 1.241 MB / 1.425 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.283, allocations: 8.062 kB / 1.425 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008093/1.283, allocations: 0.6618 MB / 1.426 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.285, allocations: 384.9 kB / 1.426 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5311/1.816, allocations: 252.6 MB / 1.673 GB, free: 408.7 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/1.817, allocations: 1.723 MB / 1.674 GB, free: 408 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002023/1.819, allocations: 0.7691 MB / 1.675 GB, free: 407.9 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.821, allocations: 1.097 MB / 1.676 GB, free: 407.7 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/1.821, allocations: 0.6562 kB / 1.676 GB, free: 407.7 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1659/1.987, allocations: 88.6 MB / 1.763 GB, free: 336 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/1.987, allocations: 282 kB / 1.763 GB, free: 335.6 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.594/6.581, allocations: 3.938 kB / 1.763 GB, free: 335.6 MB / 1.123 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