Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",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.0007619/0.0007618, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008926/0.0008927, allocations: 172.7 kB / 15.95 MB, free: 208 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.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.641/2.641, allocations: 409.4 MB / 0.684 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7473, allocations: 146.8 MB / 0.9811 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006322/0.7537, allocations: 5.263 MB / 0.9863 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.9247, allocations: 140.6 MB / 1.124 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.926, allocations: 23.88 kB / 1.124 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.9304, allocations: 1.51 MB / 1.125 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.9327, allocations: 0.6281 MB / 1.126 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.9352, allocations: 0.7721 MB / 1.126 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.939, allocations: 3.013 MB / 1.129 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.9403, allocations: 0.7225 MB / 1.13 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.9421, allocations: 0.9495 MB / 1.131 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.9435, allocations: 0.817 MB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.9437, allocations: 48 kB / 1.132 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.9472, allocations: 1.822 MB / 1.134 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.9489, allocations: 1.945 MB / 1.136 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.9497, allocations: 0.5894 MB / 1.136 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.9573, allocations: 6.311 MB / 1.142 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9573, allocations: 0 / 1.142 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9573, allocations: 4 kB / 1.142 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001327/0.9575, allocations: 0 / 1.142 GB, free: 0.9375 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01314/0.9706, allocations: 5.13 MB / 1.147 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.9707, allocations: 8.031 kB / 1.147 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006639/0.9713, allocations: 194.3 kB / 1.147 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.9739, allocations: 486.5 kB / 1.148 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9639/1.938, allocations: 320.9 MB / 1.461 GB, free: 63.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/1.938, allocations: 134.4 kB / 1.461 GB, free: 63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006315/1.939, allocations: 176 kB / 1.462 GB, free: 62.83 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/1.942, allocations: 1.438 MB / 1.463 GB, free: 61.33 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/1.942, allocations: 0 / 1.463 GB, free: 61.33 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/1.943, allocations: 59.73 kB / 1.463 GB, free: 61.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/1.943, allocations: 28 kB / 1.463 GB, free: 61.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/1.945, allocations: 1.496 MB / 1.465 GB, free: 59.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0564/2.002, allocations: 76.7 MB / 1.54 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/2.005, allocations: 1.262 MB / 1.541 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/2.006, allocations: 0.6988 MB / 1.541 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/2.006, allocations: 33.05 kB / 1.541 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/2.008, allocations: 0.7547 MB / 1.542 GB, free: 12.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=118): time 3.226e-06/2.008, allocations: 0 / 1.542 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=118): time 0.00566/2.013, allocations: 2.334 MB / 1.544 GB, free: 9.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002521/2.014, allocations: 346.5 kB / 1.545 GB, free: 9.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.031/3.044, allocations: 379.7 MB / 1.916 GB, free: 223.9 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000465/3.045, allocations: 69.7 kB / 1.916 GB, free: 223.8 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002515/3.047, allocations: 1.614 MB / 1.917 GB, free: 222.3 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006149/3.048, allocations: 381.9 kB / 1.918 GB, free: 222 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/3.048, allocations: 40 kB / 1.918 GB, free: 222 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002425/3.049, allocations: 415.3 kB / 1.918 GB, free: 221.6 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/3.051, allocations: 1.203 MB / 1.919 GB, free: 220.4 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/3.053, allocations: 1.93 MB / 1.921 GB, free: 218.1 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/3.055, allocations: 1.624 MB / 1.923 GB, free: 216.5 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/3.055, allocations: 4 kB / 1.923 GB, free: 216.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005838/3.061, allocations: 3.79 MB / 1.926 GB, free: 212.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/3.061, allocations: 185.6 kB / 1.927 GB, free: 212.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/3.061, allocations: 20 kB / 1.927 GB, free: 212.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-05/3.061, allocations: 38.19 kB / 1.927 GB, free: 212.5 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/3.063, allocations: 475.2 kB / 1.927 GB, free: 212 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.303e-05/3.063, allocations: 53.14 kB / 1.927 GB, free: 212 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/3.066, allocations: 0.5625 MB / 1.928 GB, free: 211.4 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/3.066, allocations: 108.7 kB / 1.928 GB, free: 211.3 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (265): * Single equations (assignments): 264 * 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.002447/3.068, allocations: 1.666 MB / 1.929 GB, free: 209.6 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/3.07, allocations: 351.3 kB / 1.93 GB, free: 209.3 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/3.074, allocations: 2.581 MB / 1.932 GB, free: 206.7 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/3.074, allocations: 15.95 kB / 1.932 GB, free: 206.7 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/3.074, allocations: 0 / 1.932 GB, free: 206.7 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/3.074, allocations: 3.984 kB / 1.932 GB, free: 206.7 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/3.079, allocations: 2.811 MB / 1.935 GB, free: 203.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/3.079, allocations: 5.125 kB / 1.935 GB, free: 203.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/3.079, allocations: 159.8 kB / 1.935 GB, free: 203.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/3.079, allocations: 7.938 kB / 1.935 GB, free: 203.7 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/3.08, allocations: 39.97 kB / 1.935 GB, free: 203.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/3.08, allocations: 12 kB / 1.935 GB, free: 203.6 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/3.08, allocations: 3.953 kB / 1.935 GB, free: 203.6 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/3.084, allocations: 2.346 MB / 1.938 GB, free: 201.2 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/3.086, allocations: 1.261 MB / 1.939 GB, free: 199.9 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/3.088, allocations: 24 kB / 1.939 GB, free: 199.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/3.09, allocations: 325 kB / 1.939 GB, free: 199.6 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/3.091, allocations: 80.84 kB / 1.939 GB, free: 199.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/3.091, allocations: 51.97 kB / 1.939 GB, free: 199.5 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.8218/3.913, allocations: 305.4 MB / 2.238 GB, free: 341.8 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.01e-07/3.913, allocations: 0 / 2.238 GB, free: 341.8 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004209/3.917, allocations: 1.215 MB / 2.239 GB, free: 340.7 MB / 1.17 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.006036/3.923, allocations: 3.759 MB / 2.242 GB, free: 337.4 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003943/3.927, allocations: 4.146 MB / 2.246 GB, free: 333.3 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/3.927, allocations: 3.938 kB / 2.246 GB, free: 333.3 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/3.928, allocations: 2.023 MB / 2.248 GB, free: 331.3 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/3.931, allocations: 436.1 kB / 2.249 GB, free: 330.8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.728/5.66, allocations: 0.9189 GB / 3.168 GB, free: 328.5 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/5.662, allocations: 2.358 MB / 3.17 GB, free: 326.2 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003004/5.665, allocations: 1.254 MB / 3.171 GB, free: 325 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/5.667, allocations: 1.751 MB / 3.173 GB, free: 323.3 MB / 1.186 GB Notification: Performance of SimCode: time 1.773e-06/5.667, allocations: 0 / 3.173 GB, free: 323.3 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/5.875, allocations: 190.6 MB / 3.359 GB, free: 134.2 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/5.876, allocations: 279.1 kB / 3.359 GB, free: 133.8 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.439/10.31, allocations: 0 / 3.359 GB, free: 133.8 MB / 1.186 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat does not exist to compare? outputFormat=mat