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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.0009411, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001131/0.001131, allocations: 168.7 kB / 15.95 MB, free: 200 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.507/1.507, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.547/2.547, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.000386, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.6853, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006624/0.692, allocations: 4.405 MB / 0.9854 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.8514, allocations: 137 MB / 1.119 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009198/0.8523, allocations: 19.88 kB / 1.119 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.8531, allocations: 150.8 kB / 1.119 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.8549, allocations: 0.4961 MB / 1.12 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.857, allocations: 0.7362 MB / 1.121 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.8589, allocations: 1.598 MB / 1.122 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009425/0.8599, allocations: 0.5878 MB / 1.123 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008836/0.8608, allocations: 474 kB / 1.123 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.8614, allocations: 0.5522 MB / 1.124 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.8616, allocations: 40 kB / 1.124 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008886/0.8625, allocations: 455.6 kB / 1.124 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.8628, allocations: 294.8 kB / 1.125 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.863, allocations: 256.9 kB / 1.125 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.8644, allocations: 1.566 MB / 1.126 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8644, allocations: 0 / 1.126 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8644, allocations: 0 / 1.126 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.8644, allocations: 0 / 1.126 GB, free: 1.215 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002679/0.8671, allocations: 1.528 MB / 1.128 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.8672, allocations: 12.03 kB / 1.128 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.8674, allocations: 181.8 kB / 1.128 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008085/0.8755, allocations: 1.567 MB / 1.129 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.8772, allocations: 0.9224 MB / 1.13 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/0.8773, allocations: 94.41 kB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.8775, allocations: 120 kB / 1.131 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/0.8822, allocations: 2.143 MB / 1.133 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.8822, allocations: 0 / 1.133 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.8824, allocations: 52 kB / 1.133 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.8824, allocations: 36 kB / 1.133 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006912/0.8893, allocations: 2.999 MB / 1.136 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007922/0.8973, allocations: 4.568 MB / 1.14 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007194/0.9045, allocations: 3.004 MB / 1.143 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/0.9073, allocations: 1.147 MB / 1.144 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/0.9079, allocations: 0.614 MB / 1.145 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003253/0.9111, allocations: 1.465 MB / 1.146 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=132): time 2.915e-06/0.9111, allocations: 0 / 1.146 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=132): time 0.009923/0.9211, allocations: 3.715 MB / 1.15 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9212, allocations: 197.2 kB / 1.15 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.9222, allocations: 0.7666 MB / 1.151 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.9224, allocations: 53.7 kB / 1.151 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.9228, allocations: 484.9 kB / 1.151 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.9231, allocations: 429.7 kB / 1.152 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.9232, allocations: 24 kB / 1.152 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9234, allocations: 345.9 kB / 1.152 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.9261, allocations: 1.068 MB / 1.153 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/0.929, allocations: 1.198 MB / 1.154 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.9317, allocations: 1.052 MB / 1.155 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9317, allocations: 0 / 1.155 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006599/0.9383, allocations: 2.495 MB / 1.158 GB, free: 384 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.9384, allocations: 8 kB / 1.158 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9384, allocations: 0 / 1.158 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.9389, allocations: 92.77 kB / 1.158 GB, free: 280 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.9412, allocations: 475.3 kB / 1.158 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.943, allocations: 1.539 MB / 1.16 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.945, allocations: 350.6 kB / 1.16 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.9452, allocations: 55.94 kB / 1.16 GB, free: 13.73 MB / 0.92 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.incAng.decAng.tNext,incAng.decAng.tNext,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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.0006439/0.9458, allocations: 327.5 kB / 1.161 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.9461, allocations: 118.6 kB / 1.161 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007621/0.9537, allocations: 2.957 MB / 1.164 GB, free: 10.31 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.9537, allocations: 16 kB / 1.164 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9537, allocations: 0 / 1.164 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.9538, allocations: 11.97 kB / 1.164 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009158/0.9629, allocations: 4.536 MB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.963, allocations: 0 / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.9652, allocations: 463.4 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.9657, allocations: 92.7 kB / 1.169 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.9659, allocations: 55.89 kB / 1.169 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.9677, allocations: 1.548 MB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9678, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/0.9746, allocations: 2.718 MB / 1.173 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000819/0.9754, allocations: 443 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.9756, allocations: 31.98 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.9775, allocations: 311.5 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.9777, allocations: 101.2 kB / 1.174 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.9778, allocations: 59.94 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007443/0.9786, allocations: 0.5498 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9786, allocations: 0 / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001235/0.9798, allocations: 475.1 kB / 1.175 GB, free: 14.7 MB / 0.9356 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.008341/0.9882, allocations: 3.797 MB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006259/0.9945, allocations: 2.535 MB / 1.181 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9945, allocations: 4.125 kB / 1.181 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.9978, allocations: 1.423 MB / 1.182 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.9993, allocations: 284.8 kB / 1.182 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.021, allocations: 9.952 MB / 1.192 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/1.021, allocations: 1.163 MB / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001849/1.023, allocations: 473.1 kB / 1.194 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009656/1.024, allocations: 0.5382 MB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of SimCode: time 7.11e-07/1.024, allocations: 0 / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/1.078, allocations: 30.84 MB / 1.224 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.079, allocations: 273.5 kB / 1.225 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.751, allocations: 1.875 kB / 1.225 GB, free: 11.6 MB / 0.9825 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) Environment - environmentSimulation: 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