Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_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.008264/0.008264, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001873/0.001873, allocations: 192.8 kB / 16.67 MB, free: 5.93 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.598/2.598, allocations: 469.4 MB / 0.7422 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7333, allocations: 159.1 MB / 1.22 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007517/0.7408, allocations: 6.239 MB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1477/0.8885, allocations: 151.5 MB / 1.374 GB, free: 3.887 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.8896, allocations: 23.88 kB / 1.374 GB, free: 3.863 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008493/0.8904, allocations: 233.8 kB / 1.374 GB, free: 3.633 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.8928, allocations: 0.7023 MB / 1.375 GB, free: 2.93 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.8951, allocations: 1.012 MB / 1.376 GB, free: 1.926 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.8973, allocations: 2.056 MB / 1.378 GB, free: 15.86 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.8986, allocations: 0.8588 MB / 1.379 GB, free: 14.97 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.8998, allocations: 0.7515 MB / 1.379 GB, free: 14.22 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.901, allocations: 0.7976 MB / 1.38 GB, free: 13.42 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.9015, allocations: 192 kB / 1.38 GB, free: 13.23 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.9028, allocations: 0.6596 MB / 1.381 GB, free: 12.57 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.9033, allocations: 486.6 kB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.9044, allocations: 0.8514 MB / 1.382 GB, free: 11.24 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.9072, allocations: 2.488 MB / 1.385 GB, free: 8.742 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9073, allocations: 0 / 1.385 GB, free: 8.742 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9073, allocations: 4 kB / 1.385 GB, free: 8.738 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.045e-05/0.9074, allocations: 0 / 1.385 GB, free: 8.738 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004151/0.9115, allocations: 1.962 MB / 1.387 GB, free: 6.711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9116, allocations: 12.62 kB / 1.387 GB, free: 6.699 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.9119, allocations: 194.7 kB / 1.387 GB, free: 6.5 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009637/0.9215, allocations: 1.299 MB / 1.388 GB, free: 5.199 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.9235, allocations: 1.06 MB / 1.389 GB, free: 4.098 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.9236, allocations: 106.7 kB / 1.389 GB, free: 3.992 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.9239, allocations: 132 kB / 1.389 GB, free: 3.863 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005845/0.9298, allocations: 2.205 MB / 1.391 GB, free: 1.598 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.9298, allocations: 0 / 1.391 GB, free: 1.598 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.93, allocations: 56 kB / 1.391 GB, free: 1.543 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.93, allocations: 32 kB / 1.392 GB, free: 1.512 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008355/0.9384, allocations: 2.964 MB / 1.394 GB, free: 14.54 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009754/0.9482, allocations: 5.374 MB / 1.4 GB, free: 9.004 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008893/0.9571, allocations: 2.88 MB / 1.402 GB, free: 6.125 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/0.9605, allocations: 1.129 MB / 1.404 GB, free: 4.996 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005245/0.961, allocations: 0.6144 MB / 1.404 GB, free: 4.25 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003882/0.9649, allocations: 1.446 MB / 1.406 GB, free: 2.785 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 3.196e-06/0.9649, allocations: 0 / 1.406 GB, free: 2.785 MB / 1.123 GB Notification: Performance of matching and sorting (n=133): time 0.01188/0.9768, allocations: 3.637 MB / 1.409 GB, free: 15.12 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.9769, allocations: 193.2 kB / 1.409 GB, free: 14.89 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.9781, allocations: 0.8177 MB / 1.41 GB, free: 14.06 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.9783, allocations: 49.7 kB / 1.41 GB, free: 14 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.9787, allocations: 0.5289 MB / 1.411 GB, free: 13.47 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.9791, allocations: 452.2 kB / 1.411 GB, free: 13.02 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004937/0.9796, allocations: 258.7 kB / 1.411 GB, free: 12.77 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9798, allocations: 353.9 kB / 1.412 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/0.983, allocations: 1.021 MB / 1.413 GB, free: 11.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.9865, allocations: 1.186 MB / 1.414 GB, free: 10.17 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006433/0.9929, allocations: 2.052 MB / 1.416 GB, free: 8.102 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.993, allocations: 64 / 1.416 GB, free: 8.102 MB / 1.139 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007917/1.001, allocations: 2.441 MB / 1.418 GB, free: 5.648 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.001, allocations: 4 kB / 1.418 GB, free: 5.645 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.001, allocations: 0 / 1.418 GB, free: 5.645 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/1.002, allocations: 84.84 kB / 1.418 GB, free: 5.559 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/1.004, allocations: 423.3 kB / 1.419 GB, free: 5.145 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.006, allocations: 1.656 MB / 1.42 GB, free: 3.344 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.008, allocations: 279 kB / 1.421 GB, free: 3.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/1.009, allocations: 55.94 kB / 1.421 GB, free: 3.016 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 (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.0007393/1.009, allocations: 355.9 kB / 1.421 GB, free: 2.66 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/1.01, allocations: 123.2 kB / 1.421 GB, free: 2.539 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008796/1.019, allocations: 2.88 MB / 1.424 GB, free: 15.64 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.019, allocations: 19.94 kB / 1.424 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.019, allocations: 0 / 1.424 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/1.019, allocations: 7.969 kB / 1.424 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/1.021, allocations: 1.816 MB / 1.426 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.021, allocations: 4 kB / 1.426 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/1.023, allocations: 411.3 kB / 1.426 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/1.024, allocations: 76.78 kB / 1.426 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/1.024, allocations: 47.94 kB / 1.426 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.026, allocations: 1.681 MB / 1.428 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.026, allocations: 4.062 kB / 1.428 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007908/1.034, allocations: 2.584 MB / 1.43 GB, free: 8.777 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009124/1.035, allocations: 471.7 kB / 1.431 GB, free: 8.297 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/1.035, allocations: 28 kB / 1.431 GB, free: 8.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/1.037, allocations: 239.7 kB / 1.431 GB, free: 8.035 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.037, allocations: 101.2 kB / 1.431 GB, free: 7.938 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.038, allocations: 63.94 kB / 1.431 GB, free: 7.875 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000843/1.038, allocations: 0.5849 MB / 1.432 GB, free: 7.297 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/1.039, allocations: 7.938 kB / 1.432 GB, free: 7.289 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001313/1.04, allocations: 0.5106 MB / 1.432 GB, free: 6.777 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,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.009539/1.049, allocations: 3.678 MB / 1.436 GB, free: 3.254 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007592/1.057, allocations: 2.5 MB / 1.438 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.057, allocations: 0 / 1.438 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003984/1.061, allocations: 1.403 MB / 1.44 GB, free: 15.32 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.063, allocations: 350 kB / 1.44 GB, free: 14.99 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03044/1.093, allocations: 12.76 MB / 1.453 GB, free: 2.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008575/1.094, allocations: 1.191 MB / 1.454 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001774/1.096, allocations: 489.5 kB / 1.454 GB, free: 376 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.097, allocations: 0.5813 MB / 1.455 GB, free: 15.78 MB / 1.186 GB Notification: Performance of SimCode: time 8.32e-07/1.097, allocations: 0 / 1.455 GB, free: 15.78 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06709/1.164, allocations: 33.19 MB / 1.487 GB, free: 14.9 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.99, allocations: 12.86 kB / 1.487 GB, free: 14.89 MB / 1.217 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches