Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.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.002173/0.002173, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001716/0.001716, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.387/3.387, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] 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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="cs",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.002065/0.002065, allocations: 69.58 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 176.1 MB / 1.327 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008576/0.3559, allocations: 5.256 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.5252, allocations: 133.2 MB / 1.462 GB, free: 6.602 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.5263, allocations: 31.75 kB / 1.462 GB, free: 6.57 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.5271, allocations: 225.9 kB / 1.462 GB, free: 6.348 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.5296, allocations: 0.6861 MB / 1.463 GB, free: 5.66 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.5328, allocations: 0.9974 MB / 1.464 GB, free: 4.668 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003458/0.5362, allocations: 1.932 MB / 1.466 GB, free: 2.73 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.5374, allocations: 0.5193 MB / 1.466 GB, free: 2.176 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5389, allocations: 0.7048 MB / 1.467 GB, free: 1.469 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.5406, allocations: 0.7471 MB / 1.468 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.5409, allocations: 168 kB / 1.468 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.5427, allocations: 0.6714 MB / 1.468 GB, free: 15.88 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005135/0.5432, allocations: 454.6 kB / 1.469 GB, free: 15.44 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008783/0.5441, allocations: 0.6338 MB / 1.469 GB, free: 14.8 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003916/0.548, allocations: 2.288 MB / 1.472 GB, free: 12.5 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.548, allocations: 0 / 1.472 GB, free: 12.5 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.186e-06/0.548, allocations: 0 / 1.472 GB, free: 12.5 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.548, allocations: 0 / 1.472 GB, free: 12.5 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004436/0.5525, allocations: 1.818 MB / 1.473 GB, free: 10.64 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5525, allocations: 8.031 kB / 1.473 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.245e-05/0.5526, allocations: 34.64 kB / 1.474 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002415/0.5528, allocations: 182 kB / 1.474 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.5635, allocations: 1.381 MB / 1.475 GB, free: 9.023 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.5659, allocations: 0.9246 MB / 1.476 GB, free: 8.074 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.566, allocations: 90.45 kB / 1.476 GB, free: 7.984 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.5662, allocations: 120 kB / 1.476 GB, free: 7.867 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/0.5717, allocations: 2.292 MB / 1.478 GB, free: 5.449 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5717, allocations: 0 / 1.478 GB, free: 5.449 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.5719, allocations: 52 kB / 1.478 GB, free: 5.398 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.5719, allocations: 35.98 kB / 1.478 GB, free: 5.363 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007737/0.5797, allocations: 2.76 MB / 1.481 GB, free: 2.594 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009225/0.5889, allocations: 3.983 MB / 1.485 GB, free: 14.53 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007946/0.5968, allocations: 2.576 MB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/0.5999, allocations: 0.993 MB / 1.489 GB, free: 10.95 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.6002, allocations: 88.86 kB / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003743/0.6039, allocations: 1.457 MB / 1.49 GB, free: 9.367 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 3.417e-06/0.6039, allocations: 0 / 1.49 GB, free: 9.367 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01151/0.6154, allocations: 3.324 MB / 1.493 GB, free: 6.035 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.6156, allocations: 197.2 kB / 1.493 GB, free: 5.797 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.617, allocations: 0.7981 MB / 1.494 GB, free: 4.988 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.6172, allocations: 49.7 kB / 1.494 GB, free: 4.934 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.6177, allocations: 0.49 MB / 1.495 GB, free: 4.438 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/0.6182, allocations: 456.1 kB / 1.495 GB, free: 3.988 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005335/0.6187, allocations: 250.8 kB / 1.495 GB, free: 3.738 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6189, allocations: 353.9 kB / 1.496 GB, free: 3.387 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/0.6221, allocations: 0.9353 MB / 1.497 GB, free: 2.449 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.6255, allocations: 1.251 MB / 1.498 GB, free: 1.129 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006091/0.6316, allocations: 1.895 MB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.6316, allocations: 0 / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007528/0.6391, allocations: 2.284 MB / 1.502 GB, free: 12.92 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.6391, allocations: 4 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6392, allocations: 4 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.6398, allocations: 88.77 kB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.6422, allocations: 423.3 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.6446, allocations: 1.541 MB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.6467, allocations: 283 kB / 1.504 GB, free: 10.47 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.6469, allocations: 55.94 kB / 1.504 GB, free: 10.41 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 (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.0007362/0.6476, allocations: 327.3 kB / 1.505 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.6479, allocations: 119.2 kB / 1.505 GB, free: 9.969 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008233/0.6562, allocations: 2.731 MB / 1.507 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.6562, allocations: 16 kB / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6562, allocations: 0 / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.6562, allocations: 7.969 kB / 1.507 GB, free: 7.203 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.6665, allocations: 4.025 MB / 1.511 GB, free: 3.121 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6665, allocations: 0 / 1.511 GB, free: 3.121 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/0.6688, allocations: 411.4 kB / 1.512 GB, free: 2.719 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.6693, allocations: 80.7 kB / 1.512 GB, free: 2.637 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.6694, allocations: 51.94 kB / 1.512 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.6717, allocations: 1.562 MB / 1.513 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6717, allocations: 3.938 kB / 1.513 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00793/0.6796, allocations: 2.502 MB / 1.516 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.6809, allocations: 366.6 kB / 1.516 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.6812, allocations: 31.98 kB / 1.516 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/0.6832, allocations: 223.7 kB / 1.516 GB, free: 13.77 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.6835, allocations: 105 kB / 1.517 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.6836, allocations: 67.92 kB / 1.517 GB, free: 13.6 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008741/0.6845, allocations: 0.5771 MB / 1.517 GB, free: 13.02 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6845, allocations: 0 / 1.517 GB, free: 13.02 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001565/0.6861, allocations: 0.4951 MB / 1.518 GB, free: 12.53 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,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.009853/0.6959, allocations: 3.629 MB / 1.521 GB, free: 9.074 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006975/0.7029, allocations: 2.277 MB / 1.523 GB, free: 6.785 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7029, allocations: 7.938 kB / 1.523 GB, free: 6.777 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/0.7066, allocations: 1.255 MB / 1.525 GB, free: 5.508 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.7083, allocations: 341.3 kB / 1.525 GB, free: 5.199 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/0.7377, allocations: 12.11 MB / 1.537 GB, free: 8.93 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.7384, allocations: 0.5757 MB / 1.537 GB, free: 8.316 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001813/0.7402, allocations: 481.4 kB / 1.538 GB, free: 7.844 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.7413, allocations: 0.5538 MB / 1.538 GB, free: 7.289 MB / 1.232 GB Notification: Performance of SimCode: time 1.322e-06/0.7413, allocations: 0 / 1.538 GB, free: 7.289 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07551/0.8169, allocations: 34.16 MB / 1.572 GB, free: 5.496 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.65, allocations: 13.11 kB / 1.572 GB, free: 5.488 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.15946063201409]