Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001077/0.001077, allocations: 172.9 kB / 492.3 MB, free: 0.5977 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.459/1.459, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.000814/0.000814, allocations: 88.02 kB / 0.9267 GB, free: 13.91 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.216e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2599, allocations: 142.4 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.277/4.537, allocations: 1.736 GB / 2.948 GB, free: 132.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/4.538, allocations: 93.25 kB / 2.948 GB, free: 132.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1659/4.703, allocations: 78.62 MB / 3.025 GB, free: 53.86 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.325e-06/4.704, allocations: 0 / 3.025 GB, free: 53.86 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.902e-05/4.704, allocations: 35.94 kB / 3.025 GB, free: 53.82 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.002013/4.706, allocations: 1.32 MB / 3.026 GB, free: 52.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/4.706, allocations: 12.03 kB / 3.026 GB, free: 52.44 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/4.706, allocations: 173.4 kB / 3.027 GB, free: 52.26 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007254/4.713, allocations: 1.344 MB / 3.028 GB, free: 50.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/4.715, allocations: 0.8131 MB / 3.029 GB, free: 50.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/4.715, allocations: 86.33 kB / 3.029 GB, free: 49.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/4.715, allocations: 115.9 kB / 3.029 GB, free: 49.85 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/4.717, allocations: 1.571 MB / 3.03 GB, free: 48.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/4.717, allocations: 0 / 3.03 GB, free: 48.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/4.717, allocations: 51.95 kB / 3.03 GB, free: 48.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/4.717, allocations: 28 kB / 3.03 GB, free: 48.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/4.72, allocations: 1.976 MB / 3.032 GB, free: 46.15 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007565/4.728, allocations: 4.379 MB / 3.037 GB, free: 41.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/4.73, allocations: 1.863 MB / 3.039 GB, free: 39.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009707/4.731, allocations: 0.6987 MB / 3.039 GB, free: 39.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/4.732, allocations: 0.6101 MB / 3.04 GB, free: 38.36 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/4.733, allocations: 0.9423 MB / 3.041 GB, free: 37.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=120): time 3.146e-06/4.733, allocations: 3.938 kB / 3.041 GB, free: 37.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=120): time 0.003071/4.736, allocations: 1.524 MB / 3.042 GB, free: 35.86 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/4.736, allocations: 248.3 kB / 3.042 GB, free: 35.56 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008326/4.737, allocations: 0.6914 MB / 3.043 GB, free: 34.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/4.737, allocations: 49.7 kB / 3.043 GB, free: 34.81 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/4.737, allocations: 456.7 kB / 3.044 GB, free: 34.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/4.738, allocations: 394.2 kB / 3.044 GB, free: 33.96 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/4.738, allocations: 20 kB / 3.044 GB, free: 33.95 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/4.738, allocations: 345.9 kB / 3.044 GB, free: 33.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/4.739, allocations: 0.5921 MB / 3.045 GB, free: 33.01 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009326/4.74, allocations: 0.7345 MB / 3.046 GB, free: 32.24 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/4.741, allocations: 0.5982 MB / 3.046 GB, free: 31.64 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/4.741, allocations: 0 / 3.046 GB, free: 31.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00267/4.743, allocations: 1.54 MB / 3.048 GB, free: 30.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/4.743, allocations: 8 kB / 3.048 GB, free: 30.08 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/4.743, allocations: 0 / 3.048 GB, free: 30.08 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/4.744, allocations: 84.84 kB / 3.048 GB, free: 30 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/4.746, allocations: 459.3 kB / 3.048 GB, free: 29.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/4.748, allocations: 1.524 MB / 3.05 GB, free: 27.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/4.75, allocations: 330.7 kB / 3.05 GB, free: 27.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/4.75, allocations: 55.94 kB / 3.05 GB, free: 27.5 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.0002847/4.75, allocations: 166.1 kB / 3.05 GB, free: 27.33 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/4.75, allocations: 103 kB / 3.05 GB, free: 27.23 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/4.754, allocations: 1.973 MB / 3.052 GB, free: 25.24 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/4.754, allocations: 15.98 kB / 3.052 GB, free: 25.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/4.754, allocations: 0 / 3.052 GB, free: 25.23 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/4.754, allocations: 19.92 kB / 3.052 GB, free: 25.21 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/4.759, allocations: 3.582 MB / 3.056 GB, free: 21.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/4.759, allocations: 4 kB / 3.056 GB, free: 21.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/4.761, allocations: 463.4 kB / 3.056 GB, free: 21.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/4.762, allocations: 80.77 kB / 3.056 GB, free: 21.02 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/4.762, allocations: 51.95 kB / 3.056 GB, free: 20.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/4.763, allocations: 1.544 MB / 3.058 GB, free: 19.29 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/4.763, allocations: 0 / 3.058 GB, free: 19.29 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/4.766, allocations: 1.738 MB / 3.06 GB, free: 17.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/4.767, allocations: 427.2 kB / 3.06 GB, free: 17.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/4.767, allocations: 27.98 kB / 3.06 GB, free: 17.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/4.769, allocations: 287.7 kB / 3.06 GB, free: 16.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/4.769, allocations: 81.19 kB / 3.06 GB, free: 16.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/4.769, allocations: 59.94 kB / 3.06 GB, free: 16.64 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006967/4.77, allocations: 0.5616 MB / 3.061 GB, free: 16.08 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.273e-06/4.77, allocations: 3.938 kB / 3.061 GB, free: 16.07 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001504/4.771, allocations: 0.5184 MB / 3.061 GB, free: 15.55 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.004783/4.776, allocations: 3.252 MB / 3.065 GB, free: 12.44 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002643/4.779, allocations: 1.593 MB / 3.066 GB, free: 10.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/4.779, allocations: 0 / 3.066 GB, free: 10.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/4.78, allocations: 0.9432 MB / 3.067 GB, free: 9.875 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/4.782, allocations: 264.6 kB / 3.067 GB, free: 9.625 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/4.788, allocations: 2.347 MB / 3.07 GB, free: 7.238 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/4.788, allocations: 1.152 MB / 3.071 GB, free: 6.055 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001795/4.79, allocations: 468.2 kB / 3.071 GB, free: 5.594 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/4.791, allocations: 0.4992 MB / 3.072 GB, free: 5.094 MB / 1.151 GB Notification: Performance of SimCode: time 7.81e-07/4.791, allocations: 0 / 3.072 GB, free: 5.094 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7254/5.516, allocations: 39.95 MB / 3.111 GB, free: 380.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/5.517, allocations: 244.1 kB / 3.111 GB, free: 380.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/8.988, allocations: 0 / 3.111 GB, free: 380.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat