Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.00104/0.00104, allocations: 86.56 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.001382/0.001382, 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.47/1.47, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.604/2.604, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004684, allocations: 16 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8092, allocations: 146.8 MB / 0.9811 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005938/0.8152, allocations: 5.021 MB / 0.986 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.9836, allocations: 140.7 MB / 1.123 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.9848, allocations: 23.88 kB / 1.123 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004385/0.9892, allocations: 1.51 MB / 1.125 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.9916, allocations: 0.6556 MB / 1.126 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.9941, allocations: 0.7747 MB / 1.126 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003644/0.9978, allocations: 3.092 MB / 1.129 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.9991, allocations: 0.7227 MB / 1.13 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/1.001, allocations: 0.9807 MB / 1.131 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/1.002, allocations: 0.8326 MB / 1.132 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003527/1.003, allocations: 52 kB / 1.132 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/1.006, allocations: 1.825 MB / 1.134 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/1.008, allocations: 1.31 MB / 1.135 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007455/1.008, allocations: 432.3 kB / 1.135 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005234/1.014, allocations: 4.389 MB / 1.14 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.014, allocations: 0 / 1.14 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.755e-06/1.014, allocations: 0 / 1.14 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001431/1.014, allocations: 0 / 1.14 GB, free: 3.543 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008818/1.023, allocations: 3.493 MB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/1.023, allocations: 8.031 kB / 1.143 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006009/1.023, allocations: 190 kB / 1.143 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/1.025, allocations: 360.1 kB / 1.144 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08373/1.109, allocations: 87.62 MB / 1.229 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/1.109, allocations: 110.4 kB / 1.229 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/1.109, allocations: 156 kB / 1.229 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/1.112, allocations: 1.381 MB / 1.231 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.112, allocations: 8 kB / 1.231 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.112, allocations: 52 kB / 1.231 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/1.112, allocations: 28 kB / 1.231 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/1.114, allocations: 1.457 MB / 1.232 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6074/1.721, allocations: 23.76 MB / 1.255 GB, free: 266.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/1.724, allocations: 1.236 MB / 1.257 GB, free: 266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/1.726, allocations: 0.6818 MB / 1.257 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.726, allocations: 35.36 kB / 1.257 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/1.727, allocations: 0.8004 MB / 1.258 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.567e-06/1.727, allocations: 1.062 kB / 1.258 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.005928/1.733, allocations: 2.312 MB / 1.26 GB, free: 264.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/1.733, allocations: 331.5 kB / 1.261 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08815/1.822, allocations: 99.71 MB / 1.358 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004438/1.822, allocations: 61.7 kB / 1.358 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.823, allocations: 1.091 MB / 1.359 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/1.824, allocations: 351.3 kB / 1.36 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.824, allocations: 32 kB / 1.36 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.824, allocations: 373.5 kB / 1.36 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.826, allocations: 1.039 MB / 1.361 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/1.827, allocations: 1.268 MB / 1.362 GB, free: 168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.829, allocations: 1.301 MB / 1.363 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.829, allocations: 0 / 1.363 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004269/1.833, allocations: 2.897 MB / 1.366 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.833, allocations: 158.6 kB / 1.366 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.833, allocations: 0 / 1.366 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/1.833, allocations: 15 kB / 1.366 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.834, allocations: 311.5 kB / 1.367 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/1.834, allocations: 19.7 kB / 1.367 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.836, allocations: 333.4 kB / 1.367 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.836, allocations: 72.52 kB / 1.367 GB, free: 162.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (182): * Single equations (assignments): 181 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001507/1.838, allocations: 1.036 MB / 1.368 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.838, allocations: 236.9 kB / 1.368 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/1.841, allocations: 2.228 MB / 1.371 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.841, allocations: 12 kB / 1.371 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.842, allocations: 0 / 1.371 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.842, allocations: 7.938 kB / 1.371 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/1.844, allocations: 2.014 MB / 1.373 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.844, allocations: 4 kB / 1.373 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/1.845, allocations: 163.8 kB / 1.373 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.845, allocations: 7.25 kB / 1.373 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/1.845, allocations: 33.14 kB / 1.373 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.845, allocations: 8 kB / 1.373 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.845, allocations: 0 / 1.373 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/1.848, allocations: 2.03 MB / 1.375 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.849, allocations: 0.8214 MB / 1.376 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/1.849, allocations: 24 kB / 1.376 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.85, allocations: 199.9 kB / 1.376 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.85, allocations: 86.59 kB / 1.376 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/1.85, allocations: 51.97 kB / 1.376 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05656/1.907, allocations: 79.59 MB / 1.454 GB, free: 74.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.01e-07/1.907, allocations: 0 / 1.454 GB, free: 74.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003355/1.91, allocations: 1.063 MB / 1.455 GB, free: 73.31 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 (103): * Single equations (assignments): 96 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005362/1.916, allocations: 3.417 MB / 1.458 GB, free: 70.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003189/1.919, allocations: 3.232 MB / 1.461 GB, free: 66.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.919, allocations: 4 kB / 1.461 GB, free: 66.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.92, allocations: 1.373 MB / 1.462 GB, free: 65.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/1.922, allocations: 365.8 kB / 1.463 GB, free: 65.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.892/2.814, allocations: 255.7 MB / 1.713 GB, free: 436.5 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/2.816, allocations: 1.789 MB / 1.714 GB, free: 435.6 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002332/2.818, allocations: 0.7639 MB / 1.715 GB, free: 435 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/2.82, allocations: 1.138 MB / 1.716 GB, free: 434 MB / 1.17 GB Notification: Performance of SimCode: time 1.082e-06/2.82, allocations: 0 / 1.716 GB, free: 434 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/2.94, allocations: 92.42 MB / 1.806 GB, free: 344.3 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/2.941, allocations: 263.4 kB / 1.807 GB, free: 343.9 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/6.439, allocations: 0 / 1.807 GB, free: 343.9 MB / 1.17 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat does not exist to compare? outputFormat=mat