Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.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.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",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.001109/0.001109, allocations: 99.7 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.001304/0.001304, 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.486/2.486, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 15.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7568, allocations: 142.3 MB / 0.9536 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005133/0.7619, allocations: 4.428 MB / 0.9579 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.9409, allocations: 128 MB / 1.083 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.9424, allocations: 19.88 kB / 1.083 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.943, allocations: 95.11 kB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.9458, allocations: 0.5681 MB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.9481, allocations: 0.7254 MB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.9502, allocations: 1.131 MB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009769/0.9511, allocations: 0.6754 MB / 1.086 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009233/0.9521, allocations: 498 kB / 1.087 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.9527, allocations: 0.5014 MB / 1.087 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.9529, allocations: 40 kB / 1.087 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.9539, allocations: 431.5 kB / 1.087 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.9542, allocations: 286.9 kB / 1.088 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.9545, allocations: 272.9 kB / 1.088 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.9564, allocations: 1.765 MB / 1.09 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.9564, allocations: 0 / 1.09 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9565, allocations: 0 / 1.09 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.9565, allocations: 4 kB / 1.09 GB, free: 4.547 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003479/0.96, allocations: 1.59 MB / 1.091 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.96, allocations: 12.03 kB / 1.091 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.9603, allocations: 202.5 kB / 1.091 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009518/0.9699, allocations: 1.578 MB / 1.093 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.9723, allocations: 0.9965 MB / 1.094 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.9725, allocations: 106.7 kB / 1.094 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.9727, allocations: 128 kB / 1.094 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005799/0.9785, allocations: 2.314 MB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.9786, allocations: 11.95 kB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.9788, allocations: 56 kB / 1.097 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.9788, allocations: 32 kB / 1.097 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008556/0.9874, allocations: 3.202 MB / 1.1 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.9986, allocations: 5.152 MB / 1.105 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/1.007, allocations: 3.16 MB / 1.108 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/1.008, allocations: 0.6143 MB / 1.108 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00384/1.012, allocations: 1.544 MB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/1.012, allocations: 0 / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133): time 0.01161/1.023, allocations: 3.95 MB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.023, allocations: 205.2 kB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/1.025, allocations: 0.8137 MB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.025, allocations: 45.7 kB / 1.115 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/1.026, allocations: 0.5163 MB / 1.115 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004849/1.026, allocations: 433.7 kB / 1.116 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.026, allocations: 20 kB / 1.116 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.026, allocations: 353.9 kB / 1.116 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/1.03, allocations: 1.138 MB / 1.117 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003504/1.033, allocations: 1.288 MB / 1.118 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/1.037, allocations: 1.115 MB / 1.12 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.037, allocations: 8 kB / 1.12 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007887/1.045, allocations: 2.651 MB / 1.122 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.045, allocations: 5.25 kB / 1.122 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.045, allocations: 4 kB / 1.122 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/1.045, allocations: 88.73 kB / 1.122 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/1.048, allocations: 487.3 kB / 1.123 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/1.05, allocations: 1.548 MB / 1.124 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.053, allocations: 355.7 kB / 1.125 GB, free: 172 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/1.053, allocations: 63.94 kB / 1.125 GB, free: 108 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * 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.0009357/1.054, allocations: 343.4 kB / 1.125 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/1.055, allocations: 118.6 kB / 1.125 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008779/1.063, allocations: 3.114 MB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/1.064, allocations: 12 kB / 1.128 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/1.064, allocations: 7.984 kB / 1.128 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.064, allocations: 3.984 kB / 1.128 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/1.066, allocations: 1.835 MB / 1.13 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.066, allocations: 0 / 1.13 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/1.069, allocations: 479.3 kB / 1.13 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/1.069, allocations: 84.77 kB / 1.13 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.069, allocations: 51.94 kB / 1.13 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.071, allocations: 1.567 MB / 1.132 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.071, allocations: 4.062 kB / 1.132 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/1.079, allocations: 2.795 MB / 1.135 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.08, allocations: 483.2 kB / 1.135 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/1.081, allocations: 28 kB / 1.135 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/1.083, allocations: 311.6 kB / 1.136 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.083, allocations: 105.1 kB / 1.136 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.083, allocations: 63.94 kB / 1.136 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008454/1.084, allocations: 0.581 MB / 1.136 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.084, allocations: 0 / 1.136 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001365/1.085, allocations: 490.9 kB / 1.137 GB, free: 3.422 MB / 0.8887 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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.009733/1.095, allocations: 3.89 MB / 1.141 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007511/1.103, allocations: 2.715 MB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.103, allocations: 0 / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003818/1.106, allocations: 1.509 MB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.108, allocations: 277.3 kB / 1.145 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.133, allocations: 11.13 MB / 1.156 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/1.134, allocations: 1.226 MB / 1.157 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001877/1.136, allocations: 489.4 kB / 1.157 GB, free: 14.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.137, allocations: 0.5851 MB / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of SimCode: time 2.695e-06/1.137, allocations: 0 / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.668/2.805, allocations: 32.32 MB / 1.19 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003334/2.805, allocations: 252.4 kB / 1.19 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/5.468, allocations: 4 kB / 1.19 GB, free: 13.16 MB / 0.9512 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat