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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005131/0.005131, allocations: 97.7 kB / 15.73 MB, free: 6.066 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.001549/0.001548, allocations: 195.7 kB / 16.67 MB, free: 5.965 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2816, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008023/0.2896, allocations: 5.844 MB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6765/0.9661, allocations: 151.3 MB / 1.395 GB, free: 0.543 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.9669, allocations: 20.84 kB / 1.395 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007111/0.9677, allocations: 221.8 kB / 1.395 GB, free: 348 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.9698, allocations: 0.6501 MB / 1.396 GB, free: 15.86 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.9721, allocations: 0.981 MB / 1.397 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.9743, allocations: 1.901 MB / 1.399 GB, free: 13.96 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.9755, allocations: 0.7793 MB / 1.399 GB, free: 13.49 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.9766, allocations: 0.6776 MB / 1.4 GB, free: 13.08 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.9777, allocations: 0.7352 MB / 1.401 GB, free: 12.57 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003098/0.978, allocations: 167 kB / 1.401 GB, free: 12.57 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.9793, allocations: 0.6403 MB / 1.402 GB, free: 12.32 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.9798, allocations: 444.2 kB / 1.402 GB, free: 11.98 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.9808, allocations: 0.7668 MB / 1.403 GB, free: 11.43 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002769/0.9836, allocations: 2.218 MB / 1.405 GB, free: 9.836 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9836, allocations: 0 / 1.405 GB, free: 9.836 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9836, allocations: 1.625 kB / 1.405 GB, free: 9.836 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.772e-05/0.9836, allocations: 0 / 1.405 GB, free: 9.836 MB / 1.107 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.004027/0.9877, allocations: 1.869 MB / 1.407 GB, free: 8.391 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.9877, allocations: 12.03 kB / 1.407 GB, free: 8.391 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.988, allocations: 179.8 kB / 1.407 GB, free: 8.246 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009716/0.9977, allocations: 1.286 MB / 1.408 GB, free: 7.629 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.9994, allocations: 0.9952 MB / 1.409 GB, free: 6.84 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/0.9995, allocations: 88.89 kB / 1.409 GB, free: 6.801 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.9997, allocations: 119.2 kB / 1.409 GB, free: 6.762 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005515/1.005, allocations: 2.034 MB / 1.411 GB, free: 5.523 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/1.005, allocations: 1.188 kB / 1.411 GB, free: 5.523 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/1.005, allocations: 55.52 kB / 1.411 GB, free: 5.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/1.006, allocations: 30.06 kB / 1.411 GB, free: 5.48 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008482/1.014, allocations: 2.763 MB / 1.414 GB, free: 4.121 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00911/1.023, allocations: 4.807 MB / 1.419 GB, free: 484 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008885/1.032, allocations: 2.746 MB / 1.421 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003564/1.036, allocations: 1.043 MB / 1.422 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/1.036, allocations: 0.61 MB / 1.423 GB, free: 13.1 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004106/1.04, allocations: 1.356 MB / 1.424 GB, free: 11.72 MB / 1.123 GB Notification: Performance of pre-optimization done (n=132): time 4.849e-06/1.04, allocations: 7.984 kB / 1.424 GB, free: 11.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=132): time 0.01253/1.053, allocations: 3.376 MB / 1.428 GB, free: 8.312 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.053, allocations: 213.2 kB / 1.428 GB, free: 8.059 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.054, allocations: 0.7706 MB / 1.429 GB, free: 7.277 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.054, allocations: 49.7 kB / 1.429 GB, free: 7.223 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/1.055, allocations: 493.7 kB / 1.429 GB, free: 6.734 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/1.055, allocations: 456.1 kB / 1.43 GB, free: 6.285 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000533/1.056, allocations: 246.8 kB / 1.43 GB, free: 6.039 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.056, allocations: 353.9 kB / 1.43 GB, free: 5.688 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/1.059, allocations: 0.947 MB / 1.431 GB, free: 4.738 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/1.063, allocations: 1.089 MB / 1.432 GB, free: 3.617 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006968/1.07, allocations: 1.903 MB / 1.434 GB, free: 1.699 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.07, allocations: 4 kB / 1.434 GB, free: 1.695 MB / 1.123 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008258/1.078, allocations: 2.281 MB / 1.436 GB, free: 15.4 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.078, allocations: 8 kB / 1.436 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.078, allocations: 0 / 1.436 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/1.079, allocations: 84.83 kB / 1.436 GB, free: 15.31 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/1.082, allocations: 415.3 kB / 1.437 GB, free: 14.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.084, allocations: 1.644 MB / 1.438 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.086, allocations: 286.9 kB / 1.439 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/1.086, allocations: 57.56 kB / 1.439 GB, free: 12.78 MB / 1.139 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.0005923/1.087, allocations: 335.5 kB / 1.439 GB, free: 12.44 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/1.087, allocations: 115.2 kB / 1.439 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009245/1.097, allocations: 2.727 MB / 1.442 GB, free: 9.586 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/1.097, allocations: 16 kB / 1.442 GB, free: 9.57 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.097, allocations: 4 kB / 1.442 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/1.097, allocations: 7.969 kB / 1.442 GB, free: 9.559 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/1.108, allocations: 4.307 MB / 1.446 GB, free: 5.188 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.108, allocations: 0 / 1.446 GB, free: 5.188 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.11, allocations: 415.3 kB / 1.446 GB, free: 4.781 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/1.111, allocations: 72.78 kB / 1.446 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.111, allocations: 52.69 kB / 1.447 GB, free: 4.656 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.113, allocations: 1.67 MB / 1.448 GB, free: 2.836 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.113, allocations: 3.984 kB / 1.448 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008304/1.122, allocations: 2.498 MB / 1.451 GB, free: 320 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000709/1.122, allocations: 431.7 kB / 1.451 GB, free: 15.87 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/1.123, allocations: 28 kB / 1.451 GB, free: 15.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.125, allocations: 232.5 kB / 1.451 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.125, allocations: 101.2 kB / 1.451 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.125, allocations: 71.67 kB / 1.451 GB, free: 15.45 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007805/1.126, allocations: 0.5575 MB / 1.452 GB, free: 14.9 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.126, allocations: 0 / 1.452 GB, free: 14.9 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001217/1.127, allocations: 498.9 kB / 1.452 GB, free: 14.41 MB / 1.154 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.01084/1.138, allocations: 3.598 MB / 1.456 GB, free: 10.97 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007805/1.146, allocations: 2.32 MB / 1.458 GB, free: 8.633 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.146, allocations: 0 / 1.458 GB, free: 8.633 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004131/1.15, allocations: 1.31 MB / 1.46 GB, free: 7.312 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.152, allocations: 338.8 kB / 1.46 GB, free: 7.004 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/1.183, allocations: 12.04 MB / 1.472 GB, free: 10.8 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/1.184, allocations: 1.172 MB / 1.473 GB, free: 9.598 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00159/1.185, allocations: 473.2 kB / 1.473 GB, free: 9.133 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.186, allocations: 0.5461 MB / 1.474 GB, free: 8.586 MB / 1.17 GB Notification: Performance of SimCode: time 4.11e-07/1.186, allocations: 0 / 1.474 GB, free: 8.586 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/1.257, allocations: 31.65 MB / 1.505 GB, free: 9.258 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.83, allocations: 11.27 kB / 1.505 GB, free: 9.25 MB / 1.201 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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