Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 222.5 kB / 22.25 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.041/3.041, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 66.81 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.00841/0.3599, allocations: 5.624 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.5382, allocations: 133.6 MB / 1.462 GB, free: 5.809 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5393, allocations: 27.81 kB / 1.462 GB, free: 5.781 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.5399, allocations: 245.7 kB / 1.462 GB, free: 5.539 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.5423, allocations: 0.7189 MB / 1.463 GB, free: 4.82 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.5456, allocations: 1.021 MB / 1.464 GB, free: 3.805 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004531/0.5502, allocations: 2.083 MB / 1.466 GB, free: 1.715 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.5517, allocations: 0.5762 MB / 1.466 GB, free: 1.098 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.5534, allocations: 0.7671 MB / 1.467 GB, free: 336 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.5547, allocations: 0.8179 MB / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.555, allocations: 192 kB / 1.468 GB, free: 15.32 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.5565, allocations: 0.6909 MB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.557, allocations: 498.5 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008293/0.5578, allocations: 0.7039 MB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.5613, allocations: 2.542 MB / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5613, allocations: 3.938 kB / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5613, allocations: 0 / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.061e-05/0.5613, allocations: 0 / 1.472 GB, free: 10.88 MB / 1.17 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.00397/0.5653, allocations: 1.921 MB / 1.474 GB, free: 8.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5653, allocations: 12.03 kB / 1.474 GB, free: 8.898 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/0.5656, allocations: 194.7 kB / 1.474 GB, free: 8.699 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009971/0.5755, allocations: 1.389 MB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.5779, allocations: 1.003 MB / 1.477 GB, free: 6.277 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/0.578, allocations: 94.67 kB / 1.477 GB, free: 6.184 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.5783, allocations: 132 kB / 1.477 GB, free: 6.055 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006347/0.5846, allocations: 2.464 MB / 1.479 GB, free: 3.469 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.5847, allocations: 0 / 1.479 GB, free: 3.469 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.5849, allocations: 56 kB / 1.479 GB, free: 3.414 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.5849, allocations: 32 kB / 1.479 GB, free: 3.383 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009214/0.5941, allocations: 2.917 MB / 1.482 GB, free: 468 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.606, allocations: 4.504 MB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008222/0.6142, allocations: 2.788 MB / 1.489 GB, free: 9.082 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/0.6175, allocations: 1.078 MB / 1.49 GB, free: 8.004 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/0.6179, allocations: 77.23 kB / 1.491 GB, free: 7.926 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003939/0.6218, allocations: 1.558 MB / 1.492 GB, free: 6.324 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.957e-06/0.6218, allocations: 0 / 1.492 GB, free: 6.324 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01154/0.6334, allocations: 3.558 MB / 1.496 GB, free: 2.758 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.6335, allocations: 197.2 kB / 1.496 GB, free: 2.52 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6349, allocations: 0.8452 MB / 1.497 GB, free: 1.664 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.6351, allocations: 49.7 kB / 1.497 GB, free: 1.609 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005655/0.6357, allocations: 0.5328 MB / 1.497 GB, free: 1.07 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.6363, allocations: 456.1 kB / 1.498 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005543/0.6368, allocations: 258.7 kB / 1.498 GB, free: 372 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.637, allocations: 349.9 kB / 1.498 GB, free: 16 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/0.6403, allocations: 1.025 MB / 1.499 GB, free: 14.99 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003455/0.6437, allocations: 1.337 MB / 1.5 GB, free: 13.58 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/0.65, allocations: 2.044 MB / 1.502 GB, free: 11.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.65, allocations: 0 / 1.502 GB, free: 11.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007854/0.6579, allocations: 2.437 MB / 1.505 GB, free: 9.074 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.6579, allocations: 5.875 kB / 1.505 GB, free: 9.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6579, allocations: 4 kB / 1.505 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.6585, allocations: 80.84 kB / 1.505 GB, free: 8.984 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.6609, allocations: 427.3 kB / 1.505 GB, free: 8.566 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.6635, allocations: 1.543 MB / 1.507 GB, free: 6.902 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.6657, allocations: 287 kB / 1.507 GB, free: 6.621 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.6659, allocations: 59.94 kB / 1.507 GB, free: 6.562 MB / 1.201 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.0009952/0.6669, allocations: 354.9 kB / 1.508 GB, free: 6.207 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/0.6675, allocations: 127.1 kB / 1.508 GB, free: 6.082 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008951/0.6764, allocations: 2.88 MB / 1.51 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.6764, allocations: 12 kB / 1.51 GB, free: 3.176 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6764, allocations: 0 / 1.51 GB, free: 3.176 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.6764, allocations: 11.97 kB / 1.51 GB, free: 3.164 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.6791, allocations: 1.472 MB / 1.512 GB, free: 1.648 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6791, allocations: 0 / 1.512 GB, free: 1.648 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/0.6813, allocations: 407.4 kB / 1.512 GB, free: 1.25 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.6818, allocations: 72.8 kB / 1.512 GB, free: 1.176 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.682, allocations: 55.92 kB / 1.512 GB, free: 1.121 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.6841, allocations: 1.578 MB / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6841, allocations: 0 / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008004/0.6921, allocations: 2.581 MB / 1.516 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.6932, allocations: 398.6 kB / 1.517 GB, free: 12.43 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.6936, allocations: 31.98 kB / 1.517 GB, free: 12.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.6956, allocations: 233.9 kB / 1.517 GB, free: 12.17 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.6959, allocations: 117 kB / 1.517 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.6961, allocations: 59.94 kB / 1.517 GB, free: 12 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001071/0.6971, allocations: 0.6005 MB / 1.518 GB, free: 11.4 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6971, allocations: 4 kB / 1.518 GB, free: 11.4 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00155/0.6987, allocations: 0.5222 MB / 1.518 GB, free: 10.88 MB / 1.217 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.01064/0.7093, allocations: 3.708 MB / 1.522 GB, free: 7.344 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007761/0.7171, allocations: 2.449 MB / 1.524 GB, free: 4.883 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.7171, allocations: 4.125 kB / 1.524 GB, free: 4.879 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004016/0.7211, allocations: 1.345 MB / 1.526 GB, free: 3.52 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.723, allocations: 365.1 kB / 1.526 GB, free: 3.18 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/0.755, allocations: 12.84 MB / 1.539 GB, free: 6.176 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.7559, allocations: 0.6041 MB / 1.539 GB, free: 5.539 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001921/0.7578, allocations: 489.7 kB / 1.54 GB, free: 5.059 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.7591, allocations: 0.589 MB / 1.54 GB, free: 4.469 MB / 1.232 GB Notification: Performance of SimCode: time 1.192e-06/0.7591, allocations: 0 / 1.54 GB, free: 4.469 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08303/0.8421, allocations: 36.38 MB / 1.576 GB, free: 448 kB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.59, allocations: 0 / 1.576 GB, free: 448 kB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.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_12_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable fin.fraSun in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.fraSun from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTilUns in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTilUns from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! Error: Could not read variable fin.HDirTil in file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv. Warning: Get data of variable fin.HDirTil from file Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.28421824699035]