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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5862, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005763/0.592, allocations: 5.251 MB / 0.9548 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1477/0.7397, allocations: 151.4 MB / 1.103 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.7407, allocations: 27.88 kB / 1.103 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.7414, allocations: 198.1 kB / 1.103 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.7436, allocations: 0.6191 MB / 1.104 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.7459, allocations: 0.9885 MB / 1.105 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.7479, allocations: 1.874 MB / 1.106 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.7491, allocations: 0.9103 MB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/0.75, allocations: 0.697 MB / 1.108 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009731/0.751, allocations: 0.778 MB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.7514, allocations: 192 kB / 1.109 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.7526, allocations: 0.6324 MB / 1.109 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.7531, allocations: 490.6 kB / 1.11 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.7545, allocations: 0.8163 MB / 1.111 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.7574, allocations: 2.372 MB / 1.113 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7574, allocations: 0 / 1.113 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7574, allocations: 0 / 1.113 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.548e-05/0.7575, allocations: 3.984 kB / 1.113 GB, free: 9.93 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.00389/0.7614, allocations: 1.884 MB / 1.115 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7614, allocations: 12.03 kB / 1.115 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002663/0.7617, allocations: 202.7 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009541/0.7712, allocations: 1.29 MB / 1.116 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.7728, allocations: 1.031 MB / 1.117 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/0.7729, allocations: 102.7 kB / 1.117 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.7732, allocations: 124 kB / 1.118 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.7786, allocations: 2.221 MB / 1.12 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.7787, allocations: 0 / 1.12 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.7789, allocations: 52 kB / 1.12 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.7789, allocations: 32 kB / 1.12 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008317/0.7872, allocations: 2.968 MB / 1.123 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.7976, allocations: 5.091 MB / 1.128 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00863/0.8062, allocations: 2.876 MB / 1.131 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/0.8097, allocations: 1.129 MB / 1.132 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/0.8103, allocations: 0.6064 MB / 1.132 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004017/0.8143, allocations: 1.453 MB / 1.134 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 3.196e-06/0.8144, allocations: 0 / 1.134 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01214/0.8265, allocations: 3.621 MB / 1.137 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.8266, allocations: 193.2 kB / 1.137 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.828, allocations: 0.8138 MB / 1.138 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.8281, allocations: 49.7 kB / 1.138 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.8286, allocations: 0.5163 MB / 1.139 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.829, allocations: 437.7 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004998/0.8295, allocations: 258.6 kB / 1.139 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8296, allocations: 349.9 kB / 1.14 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.833, allocations: 1.029 MB / 1.141 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/0.8365, allocations: 1.175 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006648/0.8432, allocations: 2.044 MB / 1.144 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.8432, allocations: 0 / 1.144 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007937/0.8511, allocations: 2.432 MB / 1.146 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.8512, allocations: 4 kB / 1.146 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.8512, allocations: 4 kB / 1.146 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/0.8518, allocations: 88.73 kB / 1.146 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.8543, allocations: 419.3 kB / 1.147 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.8564, allocations: 1.652 MB / 1.148 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.8588, allocations: 274.8 kB / 1.149 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.8589, allocations: 63.94 kB / 1.149 GB, free: 4.742 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 (HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007685/0.8597, allocations: 351.5 kB / 1.149 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.8601, allocations: 122.5 kB / 1.149 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008991/0.8691, allocations: 2.872 MB / 1.152 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.8691, allocations: 19.94 kB / 1.152 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8691, allocations: 0 / 1.152 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.8692, allocations: 11.95 kB / 1.152 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.8716, allocations: 1.816 MB / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.8716, allocations: 0 / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/0.8741, allocations: 415.3 kB / 1.154 GB, free: 15.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/0.8746, allocations: 76.78 kB / 1.154 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.8748, allocations: 51.94 kB / 1.154 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.8767, allocations: 1.67 MB / 1.156 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8767, allocations: 0 / 1.156 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008002/0.8847, allocations: 2.58 MB / 1.158 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/0.8855, allocations: 467.1 kB / 1.159 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/0.8858, allocations: 31.94 kB / 1.159 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/0.888, allocations: 231.7 kB / 1.159 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.8882, allocations: 101.2 kB / 1.159 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.8884, allocations: 63.92 kB / 1.159 GB, free: 9.637 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008186/0.8892, allocations: 0.581 MB / 1.16 GB, free: 9.059 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8892, allocations: 0 / 1.16 GB, free: 9.059 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001374/0.8906, allocations: 494.9 kB / 1.16 GB, free: 8.574 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009759/0.9004, allocations: 3.689 MB / 1.164 GB, free: 5.031 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009425/0.9098, allocations: 3.062 MB / 1.167 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.9098, allocations: 0 / 1.167 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003984/0.9138, allocations: 1.407 MB / 1.168 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.9154, allocations: 337.4 kB / 1.169 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/0.9467, allocations: 13.34 MB / 1.182 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008072/0.9475, allocations: 1.199 MB / 1.183 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001891/0.9494, allocations: 485.4 kB / 1.183 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.9505, allocations: 0.5812 MB / 1.184 GB, free: 300 kB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.9505, allocations: 0 / 1.184 GB, free: 300 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/1.014, allocations: 32.32 MB / 1.215 GB, free: 264 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.73, allocations: 8.219 kB / 1.215 GB, free: 260 kB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches