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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001274/0.001274, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.53/1.53, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.0008657/0.0008656, allocations: 89.69 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.652e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2905, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.199, allocations: 1.737 GB / 2.943 GB, free: 120.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/5.199, allocations: 88.73 kB / 2.943 GB, free: 120.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1617/5.361, allocations: 76.76 MB / 3.018 GB, free: 49.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.354e-06/5.361, allocations: 0 / 3.018 GB, free: 49.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.737e-05/5.361, allocations: 35.88 kB / 3.018 GB, free: 49.21 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.002678/5.364, allocations: 1.35 MB / 3.019 GB, free: 47.81 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/5.364, allocations: 12.03 kB / 3.019 GB, free: 47.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007888/5.372, allocations: 1.344 MB / 3.02 GB, free: 46.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/5.374, allocations: 0.8832 MB / 3.021 GB, free: 45.53 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/5.374, allocations: 40 kB / 3.021 GB, free: 45.49 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/5.374, allocations: 71.94 kB / 3.021 GB, free: 45.42 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002869/5.377, allocations: 2.066 MB / 3.023 GB, free: 43.35 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/5.379, allocations: 1.513 MB / 3.025 GB, free: 41.77 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/5.379, allocations: 4 kB / 3.025 GB, free: 41.77 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/5.379, allocations: 3.953 kB / 3.025 GB, free: 41.77 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/5.379, allocations: 28 kB / 3.025 GB, free: 41.74 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0079/5.387, allocations: 4.591 MB / 3.029 GB, free: 37.08 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/5.39, allocations: 1.932 MB / 3.031 GB, free: 35.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/5.391, allocations: 0.7487 MB / 3.032 GB, free: 34.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/5.391, allocations: 0.6104 MB / 3.033 GB, free: 33.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/5.393, allocations: 1.002 MB / 3.034 GB, free: 32.63 MB / 1.151 GB Notification: Performance of pre-optimization done (n=121): time 3.737e-06/5.393, allocations: 0 / 3.034 GB, free: 32.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=121): time 0.004694/5.397, allocations: 1.816 MB / 3.035 GB, free: 30.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/5.397, allocations: 248.6 kB / 3.036 GB, free: 30.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/5.398, allocations: 0.5857 MB / 3.036 GB, free: 29.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/5.398, allocations: 25.7 kB / 3.036 GB, free: 29.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/5.399, allocations: 484.3 kB / 3.037 GB, free: 29.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/5.399, allocations: 374.2 kB / 3.037 GB, free: 29.02 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/5.399, allocations: 0 / 3.037 GB, free: 29.02 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000175/5.399, allocations: 402.7 kB / 3.037 GB, free: 28.62 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009061/5.4, allocations: 0.6586 MB / 3.038 GB, free: 27.96 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/5.401, allocations: 0.7985 MB / 3.039 GB, free: 27.12 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/5.404, allocations: 0.8455 MB / 3.04 GB, free: 26.29 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/5.404, allocations: 0 / 3.04 GB, free: 26.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004384/5.408, allocations: 1.824 MB / 3.041 GB, free: 24.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/5.408, allocations: 8 kB / 3.041 GB, free: 24.44 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/5.408, allocations: 0 / 3.041 GB, free: 24.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/5.409, allocations: 92.83 kB / 3.041 GB, free: 24.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/5.411, allocations: 459.3 kB / 3.042 GB, free: 23.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/5.413, allocations: 1.462 MB / 3.043 GB, free: 22.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/5.415, allocations: 290.9 kB / 3.044 GB, free: 22.03 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/5.415, allocations: 55.94 kB / 3.044 GB, free: 21.97 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 (126): * Single equations (assignments): 125 * 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.0003296/5.415, allocations: 130.3 kB / 3.044 GB, free: 21.84 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004371/5.42, allocations: 1.808 MB / 3.046 GB, free: 20.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/5.42, allocations: 106.8 kB / 3.046 GB, free: 19.91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/5.426, allocations: 2.226 MB / 3.048 GB, free: 17.68 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/5.426, allocations: 12 kB / 3.048 GB, free: 17.66 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/5.426, allocations: 3.938 kB / 3.048 GB, free: 17.66 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/5.426, allocations: 7.969 kB / 3.048 GB, free: 17.65 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007342/5.433, allocations: 3.947 MB / 3.052 GB, free: 13.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/5.433, allocations: 0 / 3.052 GB, free: 13.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/5.435, allocations: 471.3 kB / 3.052 GB, free: 13.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/5.436, allocations: 88.78 kB / 3.052 GB, free: 13.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/5.436, allocations: 35.94 kB / 3.052 GB, free: 13.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/5.437, allocations: 1.481 MB / 3.054 GB, free: 11.46 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/5.438, allocations: 0 / 3.054 GB, free: 11.46 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/5.442, allocations: 2.012 MB / 3.056 GB, free: 9.43 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008488/5.443, allocations: 451.3 kB / 3.056 GB, free: 8.969 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/5.443, allocations: 0 / 3.056 GB, free: 8.969 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/5.445, allocations: 271.6 kB / 3.056 GB, free: 8.703 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/5.446, allocations: 89.19 kB / 3.056 GB, free: 8.617 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/5.446, allocations: 55.94 kB / 3.057 GB, free: 8.562 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007888/5.447, allocations: 483.1 kB / 3.057 GB, free: 8.098 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.447, allocations: 3.938 kB / 3.057 GB, free: 8.094 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001906/5.448, allocations: 494.6 kB / 3.057 GB, free: 7.609 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 (135): * Single equations (assignments): 132 * 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.007372/5.456, allocations: 3.562 MB / 3.061 GB, free: 4.129 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002779/5.459, allocations: 1.695 MB / 3.063 GB, free: 2.422 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/5.459, allocations: 0 / 3.063 GB, free: 2.422 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/5.46, allocations: 0.9984 MB / 3.064 GB, free: 1.418 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/5.462, allocations: 239 kB / 3.064 GB, free: 1.184 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6778/6.139, allocations: 2.369 MB / 3.066 GB, free: 386.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009608/6.14, allocations: 1.176 MB / 3.067 GB, free: 386 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002103/6.143, allocations: 458.5 kB / 3.068 GB, free: 386 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/6.144, allocations: 0.5063 MB / 3.068 GB, free: 386 MB / 1.151 GB Notification: Performance of SimCode: time 1.704e-06/6.144, allocations: 3.5 kB / 3.068 GB, free: 386 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09343/6.237, allocations: 32.57 MB / 3.1 GB, free: 384.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/6.238, allocations: 164 kB / 3.1 GB, free: 384.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/9.253, allocations: 0 / 3.1 GB, free: 384.2 MB / 1.151 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