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.301/2.301, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001018/0.001018, allocations: 188.8 kB / 487.4 MB, free: 5.039 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.657/1.657, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 94.09 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.751e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.531/4.845, allocations: 1.735 GB / 2.941 GB, free: 152.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/4.845, allocations: 95.94 kB / 2.941 GB, free: 152.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.16/5.005, allocations: 77.73 MB / 3.017 GB, free: 74.06 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.053e-06/5.005, allocations: 0 / 3.017 GB, free: 74.06 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.396e-05/5.006, allocations: 31.94 kB / 3.017 GB, free: 74.03 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.002103/5.008, allocations: 1.329 MB / 3.018 GB, free: 72.65 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/5.008, allocations: 12.03 kB / 3.018 GB, free: 72.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007479/5.015, allocations: 1.34 MB / 3.02 GB, free: 71.29 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/5.017, allocations: 0.8131 MB / 3.021 GB, free: 70.44 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/5.017, allocations: 40 kB / 3.021 GB, free: 70.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/5.017, allocations: 67.94 kB / 3.021 GB, free: 70.33 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002525/5.02, allocations: 1.906 MB / 3.023 GB, free: 68.42 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/5.022, allocations: 1.411 MB / 3.024 GB, free: 66.95 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/5.022, allocations: 7.938 kB / 3.024 GB, free: 66.94 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/5.022, allocations: 3.953 kB / 3.024 GB, free: 66.94 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/5.022, allocations: 28 kB / 3.024 GB, free: 66.91 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007007/5.029, allocations: 4.138 MB / 3.028 GB, free: 62.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/5.031, allocations: 1.811 MB / 3.03 GB, free: 60.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/5.032, allocations: 0.6568 MB / 3.03 GB, free: 60.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/5.032, allocations: 0.6064 MB / 3.031 GB, free: 59.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/5.033, allocations: 0.9165 MB / 3.032 GB, free: 58.53 MB / 1.151 GB Notification: Performance of pre-optimization done (n=120): time 2.194e-06/5.033, allocations: 0 / 3.032 GB, free: 58.53 MB / 1.151 GB Notification: Performance of matching and sorting (n=120): time 0.004275/5.038, allocations: 1.656 MB / 3.034 GB, free: 56.86 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/5.038, allocations: 256.6 kB / 3.034 GB, free: 56.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/5.039, allocations: 0.5544 MB / 3.034 GB, free: 55.99 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/5.039, allocations: 33.7 kB / 3.034 GB, free: 55.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/5.039, allocations: 456.4 kB / 3.035 GB, free: 55.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/5.039, allocations: 386.2 kB / 3.035 GB, free: 55.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/5.039, allocations: 0 / 3.035 GB, free: 55.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001257/5.04, allocations: 390.7 kB / 3.035 GB, free: 54.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/5.04, allocations: 0.5726 MB / 3.036 GB, free: 54.16 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/5.041, allocations: 0.7165 MB / 3.037 GB, free: 53.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/5.043, allocations: 0.7635 MB / 3.037 GB, free: 52.64 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/5.043, allocations: 0 / 3.037 GB, free: 52.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00414/5.048, allocations: 1.664 MB / 3.039 GB, free: 50.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/5.048, allocations: 14.02 kB / 3.039 GB, free: 50.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/5.048, allocations: 0 / 3.039 GB, free: 50.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/5.048, allocations: 84.84 kB / 3.039 GB, free: 50.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/5.05, allocations: 455.3 kB / 3.04 GB, free: 50.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/5.052, allocations: 1.477 MB / 3.041 GB, free: 48.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/5.054, allocations: 291 kB / 3.041 GB, free: 48.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/5.054, allocations: 51.94 kB / 3.041 GB, free: 48.48 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.0003087/5.055, allocations: 124.8 kB / 3.042 GB, free: 48.36 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004413/5.059, allocations: 1.66 MB / 3.043 GB, free: 46.68 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/5.059, allocations: 90.88 kB / 3.043 GB, free: 46.59 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/5.065, allocations: 2.069 MB / 3.045 GB, free: 44.51 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/5.065, allocations: 15.95 kB / 3.045 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/5.065, allocations: 0 / 3.045 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/5.065, allocations: 11.97 kB / 3.045 GB, free: 44.48 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007212/5.072, allocations: 3.536 MB / 3.049 GB, free: 40.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/5.072, allocations: 0 / 3.049 GB, free: 40.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/5.074, allocations: 463.4 kB / 3.049 GB, free: 40.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005003/5.075, allocations: 84.77 kB / 3.049 GB, free: 40.36 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/5.075, allocations: 31.95 kB / 3.049 GB, free: 40.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/5.077, allocations: 1.492 MB / 3.051 GB, free: 38.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/5.077, allocations: 0 / 3.051 GB, free: 38.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/5.081, allocations: 1.852 MB / 3.053 GB, free: 36.84 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007696/5.082, allocations: 419.3 kB / 3.053 GB, free: 36.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/5.082, allocations: 4 kB / 3.053 GB, free: 36.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/5.084, allocations: 259.7 kB / 3.053 GB, free: 36.15 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/5.084, allocations: 89.19 kB / 3.053 GB, free: 36.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/5.085, allocations: 55.95 kB / 3.053 GB, free: 36.01 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000706/5.085, allocations: 467.1 kB / 3.054 GB, free: 35.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/5.085, allocations: 3.938 kB / 3.054 GB, free: 35.55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001951/5.087, allocations: 486.7 kB / 3.054 GB, free: 35.07 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.006491/5.094, allocations: 3.418 MB / 3.058 GB, free: 31.74 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002366/5.096, allocations: 1.527 MB / 3.059 GB, free: 30.21 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/5.096, allocations: 0 / 3.059 GB, free: 30.21 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/5.097, allocations: 0.9086 MB / 3.06 GB, free: 29.29 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/5.099, allocations: 246 kB / 3.06 GB, free: 29.06 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/5.104, allocations: 2.229 MB / 3.062 GB, free: 26.79 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/5.105, allocations: 1.151 MB / 3.064 GB, free: 25.61 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001849/5.107, allocations: 455.7 kB / 3.064 GB, free: 25.16 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/5.108, allocations: 499.2 kB / 3.064 GB, free: 24.67 MB / 1.151 GB Notification: Performance of SimCode: time 7.72e-07/5.108, allocations: 0 / 3.064 GB, free: 24.67 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6301/5.738, allocations: 31.38 MB / 3.095 GB, free: 385.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/5.738, allocations: 183 kB / 3.095 GB, free: 385.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/8.688, allocations: 4.438 kB / 3.095 GB, free: 385.6 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