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.001338/0.001338, allocations: 99.55 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.001637/0.001636, 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 12 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.645, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005736/0.6508, allocations: 4.834 MB / 0.9856 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1444/0.7953, allocations: 131.4 MB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008363/0.7961, allocations: 19.88 kB / 1.114 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.7996, allocations: 1.308 MB / 1.115 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.8017, allocations: 0.7239 MB / 1.116 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.8037, allocations: 0.7249 MB / 1.117 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.8055, allocations: 1.407 MB / 1.118 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009447/0.8065, allocations: 0.7555 MB / 1.119 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008296/0.8073, allocations: 0.6302 MB / 1.119 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008104/0.8081, allocations: 0.6103 MB / 1.12 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.8083, allocations: 40 kB / 1.12 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.8114, allocations: 1.755 MB / 1.122 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008936/0.8123, allocations: 1.064 MB / 1.123 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.8128, allocations: 420.3 kB / 1.123 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.8176, allocations: 4.194 MB / 1.127 GB, free: 24 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.8176, allocations: 0 / 1.127 GB, free: 24 kB / 0.8731 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8177, allocations: 0 / 1.127 GB, free: 24 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.286e-05/0.8177, allocations: 0 / 1.127 GB, free: 24 kB / 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.00744/0.8252, allocations: 3.298 MB / 1.13 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.8252, allocations: 8.031 kB / 1.13 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000295/0.8255, allocations: 190.1 kB / 1.131 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.8269, allocations: 364.3 kB / 1.131 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07401/0.9009, allocations: 80.77 MB / 1.21 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/0.901, allocations: 106.5 kB / 1.21 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.9012, allocations: 132 kB / 1.21 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.9034, allocations: 1.341 MB / 1.211 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.9034, allocations: 3.938 kB / 1.211 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.9036, allocations: 56 kB / 1.211 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.9036, allocations: 36 kB / 1.211 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.9059, allocations: 1.493 MB / 1.213 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02143/0.9273, allocations: 23.47 MB / 1.236 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.9297, allocations: 1.153 MB / 1.237 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.291e-05/0.9299, allocations: 41.02 kB / 1.237 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.9309, allocations: 0.6635 MB / 1.238 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 2.425e-06/0.9309, allocations: 0 / 1.238 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.004513/0.9354, allocations: 1.738 MB / 1.239 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.9355, allocations: 192.9 kB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5988/1.534, allocations: 99.44 MB / 1.337 GB, free: 193 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002751/1.535, allocations: 49.7 kB / 1.337 GB, free: 193 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009406/1.536, allocations: 1.063 MB / 1.338 GB, free: 192 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/1.536, allocations: 321.7 kB / 1.338 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/1.536, allocations: 23.75 kB / 1.338 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/1.536, allocations: 360.4 kB / 1.338 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/1.537, allocations: 486.4 kB / 1.339 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/1.538, allocations: 0.6269 MB / 1.339 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/1.538, allocations: 0.5386 MB / 1.34 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.538, allocations: 6.141 kB / 1.34 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003082/1.542, allocations: 1.506 MB / 1.341 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.542, allocations: 4 kB / 1.341 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.542, allocations: 3.625 kB / 1.341 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/1.542, allocations: 84.16 kB / 1.342 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009285/1.543, allocations: 249.3 kB / 1.342 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/1.545, allocations: 1.535 MB / 1.343 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/1.547, allocations: 280.1 kB / 1.344 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.547, allocations: 47.97 kB / 1.344 GB, free: 185.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.001223/1.548, allocations: 0.8179 MB / 1.344 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/1.548, allocations: 221.2 kB / 1.345 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/1.551, allocations: 1.63 MB / 1.346 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.551, allocations: 10.84 kB / 1.346 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.551, allocations: 4 kB / 1.346 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.551, allocations: 7.984 kB / 1.346 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/1.553, allocations: 1.968 MB / 1.348 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.553, allocations: 0 / 1.348 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/1.554, allocations: 191.6 kB / 1.348 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/1.555, allocations: 88.3 kB / 1.348 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/1.555, allocations: 23.98 kB / 1.348 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/1.556, allocations: 1.555 MB / 1.35 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.556, allocations: 1.219 kB / 1.35 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.558, allocations: 1.368 MB / 1.351 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.56, allocations: 0.7747 MB / 1.352 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/1.56, allocations: 27.95 kB / 1.352 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.561, allocations: 200.5 kB / 1.352 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/1.561, allocations: 88.88 kB / 1.352 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/1.561, allocations: 47.97 kB / 1.352 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05172/1.613, allocations: 79.42 MB / 1.43 GB, free: 97.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.8e-07/1.613, allocations: 1.969 kB / 1.43 GB, free: 97.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002541/1.616, allocations: 0.9959 MB / 1.431 GB, free: 96.35 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.00482/1.62, allocations: 2.767 MB / 1.434 GB, free: 93.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002008/1.622, allocations: 1.241 MB / 1.435 GB, free: 92.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.622, allocations: 0 / 1.435 GB, free: 92.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009524/1.623, allocations: 0.6694 MB / 1.436 GB, free: 91.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/1.625, allocations: 343.9 kB / 1.436 GB, free: 91.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009834/1.635, allocations: 7.206 MB / 1.443 GB, free: 84.39 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.636, allocations: 1.768 MB / 1.445 GB, free: 82.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001868/1.638, allocations: 0.7763 MB / 1.445 GB, free: 81.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.639, allocations: 1.101 MB / 1.446 GB, free: 80.71 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/1.639, allocations: 4 kB / 1.446 GB, free: 80.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.743, allocations: 87.27 MB / 1.532 GB, free: 10.42 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.743, allocations: 281 kB / 1.532 GB, free: 10.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.744/5.487, allocations: 4.062 kB / 1.532 GB, free: 10.07 MB / 1.014 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