Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",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.001026/0.001026, allocations: 84.38 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.00132/0.00132, 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.499/2.499, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003636, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7301, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008311/0.7385, allocations: 6.385 MB / 0.9874 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.9146, allocations: 141.5 MB / 1.126 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.9165, allocations: 31.81 kB / 1.126 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005344/0.9219, allocations: 1.635 MB / 1.127 GB, free: 308 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.9257, allocations: 0.9701 MB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.9297, allocations: 1.055 MB / 1.129 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006391/0.9361, allocations: 4.728 MB / 1.134 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.9383, allocations: 1 MB / 1.135 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.9413, allocations: 1.358 MB / 1.136 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.9441, allocations: 1.265 MB / 1.137 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000791/0.9449, allocations: 68 kB / 1.137 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/0.9499, allocations: 2.052 MB / 1.139 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004789/0.9547, allocations: 4.722 MB / 1.144 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.9576, allocations: 1.24 MB / 1.145 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.9738, allocations: 15.28 MB / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.9738, allocations: 0 / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9738, allocations: 0 / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000465/0.9743, allocations: 0 / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.02924/1.004, allocations: 11.45 MB / 1.171 GB, free: 2.902 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.004, allocations: 12.03 kB / 1.171 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009549/1.005, allocations: 244.7 kB / 1.172 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006143/1.011, allocations: 0.9225 MB / 1.172 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.714/3.725, allocations: 0.9943 GB / 2.167 GB, free: 434 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/3.725, allocations: 172.2 kB / 2.167 GB, free: 433.9 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/3.726, allocations: 238.7 kB / 2.167 GB, free: 433.8 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005095/3.731, allocations: 2.123 MB / 2.169 GB, free: 433 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/3.731, allocations: 7.844 kB / 2.169 GB, free: 433 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/3.732, allocations: 63.69 kB / 2.169 GB, free: 433 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/3.732, allocations: 39.03 kB / 2.169 GB, free: 433 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/3.735, allocations: 2.21 MB / 2.171 GB, free: 432.4 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1327/3.868, allocations: 242.7 MB / 2.408 GB, free: 201.4 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/3.87, allocations: 1.623 MB / 2.41 GB, free: 199.7 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/3.871, allocations: 0.9064 MB / 2.411 GB, free: 198.8 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/3.872, allocations: 40.23 kB / 2.411 GB, free: 198.8 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/3.873, allocations: 1.115 MB / 2.412 GB, free: 197.7 MB / 1.201 GB Notification: Performance of pre-optimization done (n=138): time 3.607e-06/3.873, allocations: 0 / 2.412 GB, free: 197.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=138): time 0.009744/3.883, allocations: 3.563 MB / 2.416 GB, free: 194.1 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/3.883, allocations: 366.5 kB / 2.416 GB, free: 193.7 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.14/7.023, allocations: 1.183 GB / 3.598 GB, free: 442.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0006277/7.024, allocations: 81.7 kB / 3.599 GB, free: 442.2 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.005726/7.029, allocations: 3.74 MB / 3.602 GB, free: 438.9 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006272/7.03, allocations: 453.7 kB / 3.603 GB, free: 438.6 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/7.03, allocations: 60 kB / 3.603 GB, free: 438.6 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001697/7.03, allocations: 440.1 kB / 3.603 GB, free: 438.2 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/7.032, allocations: 1.664 MB / 3.605 GB, free: 436.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/7.035, allocations: 2.615 MB / 3.607 GB, free: 433.9 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/7.037, allocations: 2.182 MB / 3.609 GB, free: 431.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/7.037, allocations: 8 kB / 3.609 GB, free: 431.8 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01098/7.048, allocations: 5.455 MB / 3.615 GB, free: 426.4 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/7.049, allocations: 209.6 kB / 3.615 GB, free: 426.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/7.049, allocations: 28 kB / 3.615 GB, free: 426.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/7.049, allocations: 120.9 kB / 3.615 GB, free: 426 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/7.051, allocations: 0.6239 MB / 3.616 GB, free: 425.4 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/7.053, allocations: 1.573 MB / 3.617 GB, free: 423.7 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006894/7.06, allocations: 1.202 MB / 3.618 GB, free: 422.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/7.06, allocations: 143.7 kB / 3.619 GB, free: 422.3 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (345): * Single equations (assignments): 343 * 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: 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.005675/7.066, allocations: 3.849 MB / 3.622 GB, free: 418.5 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004371/7.07, allocations: 0.7477 MB / 3.623 GB, free: 417.7 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007302/7.078, allocations: 3.853 MB / 3.627 GB, free: 413.8 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/7.078, allocations: 12 kB / 3.627 GB, free: 413.8 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/7.078, allocations: 0 / 3.627 GB, free: 413.8 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/7.078, allocations: 3.984 kB / 3.627 GB, free: 413.8 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/7.093, allocations: 6.796 MB / 3.633 GB, free: 407 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/7.093, allocations: 0 / 3.633 GB, free: 407 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/7.094, allocations: 211.7 kB / 3.634 GB, free: 406.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/7.094, allocations: 84.77 kB / 3.634 GB, free: 406.7 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/7.094, allocations: 43.97 kB / 3.634 GB, free: 406.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/7.096, allocations: 1.535 MB / 3.635 GB, free: 405 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/7.096, allocations: 4.031 kB / 3.635 GB, free: 405 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007888/7.104, allocations: 3.351 MB / 3.639 GB, free: 401.6 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006434/7.11, allocations: 3.152 MB / 3.642 GB, free: 398.4 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003767/7.114, allocations: 35.95 kB / 3.642 GB, free: 398.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005783/7.12, allocations: 0.785 MB / 3.642 GB, free: 397.6 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/7.12, allocations: 97.17 kB / 3.643 GB, free: 397.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/7.12, allocations: 72.58 kB / 3.643 GB, free: 397.4 MB / 1.217 GB Notification: Performance of sorting global known variables: time 1.834/8.954, allocations: 0.9477 GB / 4.59 GB, free: 377.1 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.71e-07/8.954, allocations: 0 / 4.59 GB, free: 377.1 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.009959/8.964, allocations: 1.853 MB / 4.592 GB, free: 375.4 MB / 1.217 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * 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: 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.01243/8.977, allocations: 4.84 MB / 4.597 GB, free: 371.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006147/8.983, allocations: 5.196 MB / 4.602 GB, free: 366 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/8.983, allocations: 0 / 4.602 GB, free: 366 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/8.985, allocations: 2.463 MB / 4.604 GB, free: 363.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/8.997, allocations: 0.787 MB / 4.605 GB, free: 362.7 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.864/14.86, allocations: 2.93 GB / 7.535 GB, free: 129.8 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004544/14.87, allocations: 4.648 MB / 7.54 GB, free: 125.2 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.007814/14.87, allocations: 3.008 MB / 7.542 GB, free: 122.4 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008567/14.88, allocations: 4.091 MB / 7.546 GB, free: 118.3 MB / 1.217 GB Notification: Performance of SimCode: time 8.92e-07/14.88, allocations: 0 / 7.546 GB, free: 118.3 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.188/16.07, allocations: 0.5019 GB / 8.048 GB, free: 62.53 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/16.07, allocations: 310.3 kB / 8.049 GB, free: 62.17 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/24.04, allocations: 0 / 8.049 GB, free: 62.17 MB / 1.217 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat does not exist to compare? outputFormat=mat