Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.144/2.144, allocations: 390.5 MB / 398 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 188.7 kB / 491.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008791, allocations: 99.75 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.962e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2989, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.158/4.457, allocations: 1.736 GB / 2.948 GB, free: 102.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.457, allocations: 91.75 kB / 2.948 GB, free: 102.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1616/4.618, allocations: 77.76 MB / 3.024 GB, free: 29.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.216e-06/4.619, allocations: 3.984 kB / 3.024 GB, free: 29.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.024e-05/4.619, allocations: 32 kB / 3.024 GB, free: 29.77 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.002066/4.621, allocations: 1.321 MB / 3.026 GB, free: 28.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/4.621, allocations: 12.03 kB / 3.026 GB, free: 28.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007445/4.628, allocations: 1.34 MB / 3.027 GB, free: 27.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/4.63, allocations: 0.8131 MB / 3.028 GB, free: 26.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/4.63, allocations: 44 kB / 3.028 GB, free: 26.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/4.63, allocations: 68 kB / 3.028 GB, free: 26.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002574/4.633, allocations: 1.902 MB / 3.03 GB, free: 24.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/4.635, allocations: 1.418 MB / 3.031 GB, free: 22.68 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/4.635, allocations: 0 / 3.031 GB, free: 22.68 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/4.635, allocations: 4 kB / 3.031 GB, free: 22.68 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/4.635, allocations: 28 kB / 3.031 GB, free: 22.65 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007026/4.642, allocations: 4.137 MB / 3.035 GB, free: 18.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/4.644, allocations: 1.803 MB / 3.037 GB, free: 16.61 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/4.645, allocations: 0.6607 MB / 3.038 GB, free: 15.95 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003752/4.645, allocations: 0.6065 MB / 3.038 GB, free: 15.21 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/4.646, allocations: 0.909 MB / 3.039 GB, free: 14.29 MB / 1.151 GB Notification: Performance of pre-optimization done (n=120): time 2.916e-06/4.646, allocations: 4 kB / 3.039 GB, free: 14.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=120): time 0.004078/4.65, allocations: 1.657 MB / 3.041 GB, free: 12.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/4.65, allocations: 248.6 kB / 3.041 GB, free: 12.31 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/4.651, allocations: 0.5621 MB / 3.041 GB, free: 11.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/4.651, allocations: 29.64 kB / 3.041 GB, free: 11.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/4.651, allocations: 468.4 kB / 3.042 GB, free: 11.25 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/4.652, allocations: 378.2 kB / 3.042 GB, free: 10.87 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/4.652, allocations: 0 / 3.042 GB, free: 10.87 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/4.652, allocations: 398.7 kB / 3.043 GB, free: 10.47 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/4.653, allocations: 0.5687 MB / 3.043 GB, free: 9.906 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/4.653, allocations: 0.7088 MB / 3.044 GB, free: 9.156 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/4.656, allocations: 0.7712 MB / 3.045 GB, free: 8.391 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/4.656, allocations: 0 / 3.045 GB, free: 8.391 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003828/4.659, allocations: 1.664 MB / 3.046 GB, free: 6.715 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/4.659, allocations: 4 kB / 3.046 GB, free: 6.711 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/4.66, allocations: 0 / 3.046 GB, free: 6.711 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/4.66, allocations: 84.84 kB / 3.046 GB, free: 6.625 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/4.662, allocations: 463.3 kB / 3.047 GB, free: 6.172 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/4.664, allocations: 1.473 MB / 3.048 GB, free: 4.574 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/4.665, allocations: 290.9 kB / 3.049 GB, free: 4.289 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/4.666, allocations: 55.94 kB / 3.049 GB, free: 4.234 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.000261/4.666, allocations: 122.2 kB / 3.049 GB, free: 4.109 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003975/4.67, allocations: 1.664 MB / 3.05 GB, free: 2.434 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/4.67, allocations: 94.81 kB / 3.05 GB, free: 2.34 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/4.675, allocations: 2.073 MB / 3.052 GB, free: 260 kB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/4.675, allocations: 12 kB / 3.052 GB, free: 248 kB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/4.675, allocations: 3.984 kB / 3.052 GB, free: 244 kB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/4.675, allocations: 3.984 kB / 3.052 GB, free: 240 kB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5648/5.24, allocations: 3.52 MB / 3.056 GB, free: 385.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/5.24, allocations: 0.5625 kB / 3.056 GB, free: 385.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/5.242, allocations: 461.7 kB / 3.056 GB, free: 385.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/5.243, allocations: 85.08 kB / 3.056 GB, free: 385.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/5.243, allocations: 38.17 kB / 3.056 GB, free: 385.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/5.244, allocations: 1.493 MB / 3.058 GB, free: 384.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.244, allocations: 0 / 3.058 GB, free: 384.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/5.249, allocations: 1.851 MB / 3.06 GB, free: 384.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006777/5.249, allocations: 420.3 kB / 3.06 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/5.25, allocations: 1.984 kB / 3.06 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/5.252, allocations: 258.9 kB / 3.06 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/5.252, allocations: 89.67 kB / 3.06 GB, free: 384 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/5.252, allocations: 58.14 kB / 3.06 GB, free: 384 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000609/5.252, allocations: 464.7 kB / 3.061 GB, free: 384 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.243e-06/5.252, allocations: 0 / 3.061 GB, free: 384 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001501/5.254, allocations: 487.2 kB / 3.061 GB, free: 383.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.006641/5.261, allocations: 3.425 MB / 3.065 GB, free: 383.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002529/5.263, allocations: 1.524 MB / 3.066 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/5.263, allocations: 5.031 kB / 3.066 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/5.265, allocations: 0.9009 MB / 3.067 GB, free: 382.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/5.266, allocations: 226.9 kB / 3.067 GB, free: 382.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/5.271, allocations: 2.241 MB / 3.07 GB, free: 382.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/5.272, allocations: 1.151 MB / 3.071 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001754/5.274, allocations: 466.8 kB / 3.071 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008794/5.274, allocations: 495.5 kB / 3.072 GB, free: 381.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.567e-06/5.274, allocations: 1.062 kB / 3.072 GB, free: 381.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05943/5.334, allocations: 31.39 MB / 3.102 GB, free: 379.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/5.334, allocations: 191.3 kB / 3.102 GB, free: 379.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/8.123, allocations: 4 kB / 3.102 GB, free: 379.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat