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.007615/0.007615, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001675/0.001675, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.202/2.202, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.702, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005736/0.7078, allocations: 5.259 MB / 1.093 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.8837, allocations: 151.4 MB / 1.24 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.8849, allocations: 21.62 kB / 1.24 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.8857, allocations: 199.9 kB / 1.241 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.8882, allocations: 0.6141 MB / 1.241 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.8909, allocations: 0.9841 MB / 1.242 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.8931, allocations: 1.9 MB / 1.244 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.8944, allocations: 0.9102 MB / 1.245 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.8955, allocations: 0.7092 MB / 1.246 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.8963, allocations: 0.7703 MB / 1.246 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.8966, allocations: 196 kB / 1.247 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.8977, allocations: 0.6636 MB / 1.247 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.8981, allocations: 482.6 kB / 1.248 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.8988, allocations: 0.8241 MB / 1.249 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.9011, allocations: 2.414 MB / 1.251 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9011, allocations: 0 / 1.251 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9011, allocations: 0 / 1.251 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.9012, allocations: 0 / 1.251 GB, free: 6.391 MB / 0.9825 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.003193/0.9043, allocations: 1.89 MB / 1.253 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9044, allocations: 12.03 kB / 1.253 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/0.9046, allocations: 198.7 kB / 1.253 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009556/0.9142, allocations: 1.286 MB / 1.254 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.9161, allocations: 1.059 MB / 1.255 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.9162, allocations: 102.7 kB / 1.255 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.9165, allocations: 128 kB / 1.255 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.9219, allocations: 2.213 MB / 1.258 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.922, allocations: 0 / 1.258 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.9221, allocations: 52 kB / 1.258 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.9222, allocations: 32 kB / 1.258 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008416/0.9306, allocations: 2.968 MB / 1.261 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.9409, allocations: 5.033 MB / 1.265 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009166/0.9501, allocations: 2.876 MB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003503/0.9537, allocations: 1.122 MB / 1.269 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.9543, allocations: 0.6183 MB / 1.27 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004079/0.9584, allocations: 1.45 MB / 1.271 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 4.238e-06/0.9585, allocations: 0 / 1.271 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01238/0.9708, allocations: 3.613 MB / 1.275 GB, free: 13.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.971, allocations: 201.2 kB / 1.275 GB, free: 13.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.9722, allocations: 0.81 MB / 1.276 GB, free: 12.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.9724, allocations: 53.7 kB / 1.276 GB, free: 12.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.9728, allocations: 0.5162 MB / 1.276 GB, free: 11.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.9733, allocations: 433.7 kB / 1.277 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/0.9738, allocations: 254.7 kB / 1.277 GB, free: 10.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.974, allocations: 345.9 kB / 1.277 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003397/0.9774, allocations: 1.033 MB / 1.278 GB, free: 9.594 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.9809, allocations: 1.182 MB / 1.28 GB, free: 8.379 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006692/0.9876, allocations: 2.04 MB / 1.282 GB, free: 6.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9877, allocations: 64 / 1.282 GB, free: 6.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008028/0.9957, allocations: 2.432 MB / 1.284 GB, free: 3.875 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.9957, allocations: 8 kB / 1.284 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.9958, allocations: 0 / 1.284 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.9964, allocations: 92.77 kB / 1.284 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/0.9989, allocations: 415.3 kB / 1.284 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/1.001, allocations: 1.65 MB / 1.286 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/1.003, allocations: 281.4 kB / 1.286 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/1.003, allocations: 63.92 kB / 1.286 GB, free: 1.234 MB / 1.014 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.000714/1.004, allocations: 348.4 kB / 1.287 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/1.005, allocations: 118.5 kB / 1.287 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008808/1.013, allocations: 2.88 MB / 1.29 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.013, allocations: 20 kB / 1.29 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.013, allocations: 0 / 1.29 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.013, allocations: 7.969 kB / 1.29 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/1.016, allocations: 1.827 MB / 1.292 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.016, allocations: 0 / 1.292 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.018, allocations: 415.3 kB / 1.292 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/1.019, allocations: 76.78 kB / 1.292 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/1.019, allocations: 47.94 kB / 1.292 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.021, allocations: 1.67 MB / 1.294 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.021, allocations: 0 / 1.294 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008107/1.029, allocations: 2.58 MB / 1.296 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008663/1.03, allocations: 463.1 kB / 1.297 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/1.03, allocations: 35.92 kB / 1.297 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.032, allocations: 227.7 kB / 1.297 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/1.033, allocations: 101.2 kB / 1.297 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.033, allocations: 67.94 kB / 1.297 GB, free: 6.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008251/1.034, allocations: 0.5888 MB / 1.298 GB, free: 5.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.034, allocations: 0 / 1.298 GB, free: 5.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00129/1.035, allocations: 494.8 kB / 1.298 GB, free: 5.047 MB / 1.029 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.009728/1.045, allocations: 3.676 MB / 1.302 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007851/1.053, allocations: 2.492 MB / 1.304 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.053, allocations: 0 / 1.304 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004068/1.057, allocations: 1.404 MB / 1.305 GB, free: 13.6 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.058, allocations: 333.6 kB / 1.306 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03301/1.091, allocations: 12.86 MB / 1.318 GB, free: 296 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009023/1.092, allocations: 1.192 MB / 1.32 GB, free: 15.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001759/1.094, allocations: 485.4 kB / 1.32 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.095, allocations: 0.5773 MB / 1.321 GB, free: 14.01 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/1.095, allocations: 4 kB / 1.321 GB, free: 14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0674/1.163, allocations: 32.66 MB / 1.352 GB, free: 13.61 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.31, allocations: 7.219 kB / 1.352 GB, free: 13.61 MB / 1.092 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