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.0009343/0.0009343, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009272/0.0009275, allocations: 177.3 kB / 15.94 MB, free: 228 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.546/2.546, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 8 kB / 0.8375 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6694, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005252/0.6747, allocations: 4.277 MB / 0.985 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1441/0.8189, allocations: 127.8 MB / 1.11 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007066/0.8197, allocations: 23.81 kB / 1.11 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.82, allocations: 91.17 kB / 1.11 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.8216, allocations: 0.5561 MB / 1.111 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.8234, allocations: 0.7316 MB / 1.111 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.8248, allocations: 1.092 MB / 1.112 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007535/0.8256, allocations: 0.5838 MB / 1.113 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.8262, allocations: 474.1 kB / 1.113 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.8267, allocations: 497.6 kB / 1.114 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/0.8268, allocations: 44 kB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008535/0.8277, allocations: 427.5 kB / 1.114 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.828, allocations: 275 kB / 1.115 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.8282, allocations: 260.9 kB / 1.115 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.8295, allocations: 1.57 MB / 1.116 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.8295, allocations: 4 kB / 1.116 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8295, allocations: 0 / 1.116 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.8295, allocations: 0 / 1.116 GB, free: 11.19 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.002687/0.8322, allocations: 1.519 MB / 1.118 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.8323, allocations: 8.031 kB / 1.118 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/0.8325, allocations: 189.8 kB / 1.118 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00917/0.8417, allocations: 1.57 MB / 1.119 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.8434, allocations: 0.9185 MB / 1.12 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.8435, allocations: 98.41 kB / 1.12 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.8437, allocations: 120 kB / 1.121 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/0.8485, allocations: 2.139 MB / 1.123 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.8486, allocations: 0 / 1.123 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.8487, allocations: 52 kB / 1.123 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.8488, allocations: 32 kB / 1.123 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007721/0.8565, allocations: 2.995 MB / 1.126 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/0.8651, allocations: 4.564 MB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008104/0.8732, allocations: 3.018 MB / 1.133 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.8738, allocations: 0.614 MB / 1.134 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003653/0.8774, allocations: 1.465 MB / 1.135 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 3.206e-06/0.8775, allocations: 4 kB / 1.135 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01257/0.89, allocations: 3.709 MB / 1.139 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.8902, allocations: 197.2 kB / 1.139 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.8913, allocations: 0.7706 MB / 1.14 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.8915, allocations: 53.7 kB / 1.14 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.8919, allocations: 484.9 kB / 1.14 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/0.8923, allocations: 429.7 kB / 1.141 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.8924, allocations: 27.94 kB / 1.141 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8925, allocations: 345.9 kB / 1.141 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.8959, allocations: 1.056 MB / 1.142 GB, free: 320 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004113/0.9, allocations: 1.198 MB / 1.143 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.9035, allocations: 1.048 MB / 1.144 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9035, allocations: 0 / 1.144 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007875/0.9114, allocations: 2.495 MB / 1.147 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.9115, allocations: 11.95 kB / 1.147 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.9115, allocations: 0 / 1.147 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.9121, allocations: 88.83 kB / 1.147 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/0.9147, allocations: 483.3 kB / 1.147 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.9169, allocations: 1.551 MB / 1.149 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.9194, allocations: 350.7 kB / 1.149 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.9196, allocations: 59.94 kB / 1.149 GB, free: 8.855 MB / 0.9044 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.0007419/0.9203, allocations: 327.3 kB / 1.149 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.9206, allocations: 114.6 kB / 1.15 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/0.9292, allocations: 2.961 MB / 1.152 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.9292, allocations: 16 kB / 1.152 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9293, allocations: 0 / 1.152 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.9293, allocations: 7.969 kB / 1.152 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.9399, allocations: 4.532 MB / 1.157 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/0.94, allocations: 4 kB / 1.157 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.9424, allocations: 467.4 kB / 1.157 GB, free: 364 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/0.943, allocations: 80.78 kB / 1.157 GB, free: 280 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/0.9432, allocations: 59.88 kB / 1.157 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.945, allocations: 1.564 MB / 1.159 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9451, allocations: 0 / 1.159 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/0.9528, allocations: 2.71 MB / 1.162 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008686/0.9537, allocations: 459 kB / 1.162 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.9539, allocations: 32.06 kB / 1.162 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.956, allocations: 299.7 kB / 1.162 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.9562, allocations: 105.2 kB / 1.162 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.9564, allocations: 63.88 kB / 1.163 GB, free: 10.83 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007702/0.9572, allocations: 0.5498 MB / 1.163 GB, free: 10.28 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9572, allocations: 0 / 1.163 GB, free: 10.28 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00124/0.9584, allocations: 483 kB / 1.164 GB, free: 9.809 MB / 0.92 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.00923/0.9677, allocations: 3.792 MB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007554/0.9753, allocations: 2.531 MB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9753, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003852/0.9792, allocations: 1.427 MB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.9805, allocations: 264.8 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/1.011, allocations: 10.49 MB / 1.182 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/1.012, allocations: 1.187 MB / 1.183 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00197/1.014, allocations: 477 kB / 1.183 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009573/1.015, allocations: 0.5421 MB / 1.184 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of SimCode: time 6.72e-07/1.015, allocations: 0 / 1.184 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06275/1.077, allocations: 30.77 MB / 1.214 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/1.078, allocations: 278.5 kB / 1.214 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.662, allocations: 0 / 1.214 GB, free: 6.223 MB / 0.9669 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