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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 108 kB / 15.6 MB, free: 132 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.001359/0.001359, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.307/2.307, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.5312, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005596/0.5368, allocations: 5.094 MB / 0.9547 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.6866, allocations: 151.2 MB / 1.102 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009402/0.6875, allocations: 19.88 kB / 1.102 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.6883, allocations: 202.2 kB / 1.103 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.6904, allocations: 0.5998 MB / 1.103 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.6927, allocations: 0.963 MB / 1.104 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.6946, allocations: 1.766 MB / 1.106 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.6959, allocations: 0.818 MB / 1.107 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/0.6968, allocations: 0.6502 MB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009587/0.6978, allocations: 0.7236 MB / 1.108 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003371/0.6982, allocations: 160 kB / 1.108 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.6993, allocations: 0.605 MB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000493/0.6999, allocations: 446.6 kB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009087/0.7008, allocations: 0.754 MB / 1.11 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.7031, allocations: 2.127 MB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7031, allocations: 0 / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7031, allocations: 0 / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.392e-05/0.7032, allocations: 0 / 1.112 GB, free: 11.05 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.00365/0.7069, allocations: 1.793 MB / 1.114 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.7069, allocations: 8.031 kB / 1.114 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/0.7071, allocations: 190 kB / 1.114 GB, free: 9 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009529/0.7167, allocations: 1.275 MB / 1.115 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.7183, allocations: 0.9533 MB / 1.116 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/0.7184, allocations: 102.3 kB / 1.116 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.7187, allocations: 124 kB / 1.116 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005349/0.724, allocations: 2.038 MB / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.7241, allocations: 0 / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.7242, allocations: 52 kB / 1.118 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.7243, allocations: 32 kB / 1.118 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007907/0.7322, allocations: 2.756 MB / 1.121 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008605/0.7408, allocations: 4.477 MB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008472/0.7493, allocations: 2.743 MB / 1.128 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/0.7526, allocations: 1.038 MB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.7531, allocations: 0.6062 MB / 1.13 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003728/0.7569, allocations: 1.352 MB / 1.131 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 3.196e-06/0.7569, allocations: 0 / 1.131 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.0116/0.7685, allocations: 3.39 MB / 1.134 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.7686, allocations: 197.2 kB / 1.135 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.7697, allocations: 0.7668 MB / 1.135 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.7699, allocations: 49.7 kB / 1.135 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.7703, allocations: 484.8 kB / 1.136 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.7707, allocations: 433.7 kB / 1.136 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/0.7712, allocations: 246.8 kB / 1.136 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7713, allocations: 353.9 kB / 1.137 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/0.7745, allocations: 0.9431 MB / 1.138 GB, free: 132 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/0.7778, allocations: 1.093 MB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006388/0.7842, allocations: 1.899 MB / 1.141 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7842, allocations: 3.938 kB / 1.141 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00774/0.792, allocations: 2.276 MB / 1.143 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.792, allocations: 7.984 kB / 1.143 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.792, allocations: 12 kB / 1.143 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.7927, allocations: 80.84 kB / 1.143 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.7952, allocations: 419.3 kB / 1.143 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.7973, allocations: 1.65 MB / 1.145 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.7995, allocations: 284.8 kB / 1.145 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.7997, allocations: 59.94 kB / 1.145 GB, free: 8.156 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 (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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (142): * Single equations (assignments): 141 * 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.0006759/0.8004, allocations: 327.3 kB / 1.146 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.8007, allocations: 114.6 kB / 1.146 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/0.8094, allocations: 2.727 MB / 1.148 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.8094, allocations: 16 kB / 1.148 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8095, allocations: 0 / 1.148 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.8095, allocations: 7.969 kB / 1.148 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.8198, allocations: 4.302 MB / 1.153 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.8198, allocations: 0 / 1.153 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/0.8223, allocations: 415.3 kB / 1.153 GB, free: 180 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.8227, allocations: 76.78 kB / 1.153 GB, free: 100 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.8229, allocations: 51.94 kB / 1.153 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.8248, allocations: 1.674 MB / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8249, allocations: 0 / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00777/0.8326, allocations: 2.487 MB / 1.157 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007369/0.8334, allocations: 431 kB / 1.158 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.8337, allocations: 27.98 kB / 1.158 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/0.8359, allocations: 227.7 kB / 1.158 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.8361, allocations: 109.1 kB / 1.158 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8362, allocations: 64 kB / 1.158 GB, free: 10.86 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007637/0.837, allocations: 0.5576 MB / 1.159 GB, free: 10.3 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.01e-07/0.837, allocations: 0 / 1.159 GB, free: 10.3 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001267/0.8383, allocations: 471.1 kB / 1.159 GB, free: 9.844 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 (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.009416/0.8477, allocations: 3.594 MB / 1.162 GB, free: 6.402 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009137/0.8569, allocations: 2.891 MB / 1.165 GB, free: 3.496 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8569, allocations: 0 / 1.165 GB, free: 3.496 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003803/0.8607, allocations: 1.314 MB / 1.167 GB, free: 2.172 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.8625, allocations: 333.9 kB / 1.167 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03247/0.895, allocations: 12.53 MB / 1.179 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008045/0.8958, allocations: 1.159 MB / 1.18 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001954/0.8978, allocations: 473.1 kB / 1.181 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.8989, allocations: 0.5421 MB / 1.181 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/0.8989, allocations: 0 / 1.181 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/0.959, allocations: 30.79 MB / 1.211 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.86, allocations: 2.031 kB / 1.211 GB, free: 4.359 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,fin.fraSun Variables in the result:time,altAng.alt,fin.fraSun,incAng.y,walSolAzi.verAzi,weaDat.weaBus.HDifHor