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.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.001475/0.001475, allocations: 113 kB / 18.94 MB, free: 2.934 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.001647/0.001647, allocations: 208.2 kB / 22.25 MB, free: 5.082 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.987/2.987, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.001883/0.001883, allocations: 64.09 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3036, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008299/0.3119, allocations: 5.943 MB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.4846, allocations: 154.8 MB / 1.51 GB, free: 7.066 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000916/0.4855, allocations: 31.75 kB / 1.51 GB, free: 7.035 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.4863, allocations: 221.9 kB / 1.51 GB, free: 6.816 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.4883, allocations: 0.6886 MB / 1.511 GB, free: 6.129 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.4907, allocations: 1.02 MB / 1.512 GB, free: 5.113 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.4931, allocations: 1.94 MB / 1.514 GB, free: 3.164 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009809/0.494, allocations: 0.5071 MB / 1.514 GB, free: 2.621 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.4951, allocations: 0.7048 MB / 1.515 GB, free: 1.914 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.4963, allocations: 0.7548 MB / 1.516 GB, free: 1.156 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.4966, allocations: 168 kB / 1.516 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4979, allocations: 0.6869 MB / 1.516 GB, free: 312 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.4984, allocations: 450.6 kB / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009921/0.4994, allocations: 0.7813 MB / 1.518 GB, free: 15.08 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.5024, allocations: 2.277 MB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5024, allocations: 0 / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5024, allocations: 0 / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.681e-05/0.5024, allocations: 0 / 1.52 GB, free: 12.79 MB / 1.217 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.004077/0.5065, allocations: 1.826 MB / 1.522 GB, free: 10.92 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.5066, allocations: 8.031 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002681/0.5068, allocations: 186 kB / 1.522 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.5231, allocations: 1.989 MB / 1.524 GB, free: 8.727 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.5251, allocations: 0.9364 MB / 1.525 GB, free: 7.762 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.5253, allocations: 94.45 kB / 1.525 GB, free: 7.668 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.5256, allocations: 120 kB / 1.525 GB, free: 7.551 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006973/0.5326, allocations: 2.322 MB / 1.527 GB, free: 5.164 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5326, allocations: 0 / 1.527 GB, free: 5.164 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.5327, allocations: 52 kB / 1.527 GB, free: 5.113 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.5328, allocations: 32 kB / 1.527 GB, free: 5.082 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.5437, allocations: 3.228 MB / 1.53 GB, free: 1.844 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.555, allocations: 5.117 MB / 1.535 GB, free: 12.56 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.5678, allocations: 3.223 MB / 1.539 GB, free: 9.332 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004719/0.5726, allocations: 1.225 MB / 1.54 GB, free: 8.105 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.5729, allocations: 93.03 kB / 1.54 GB, free: 8.012 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005348/0.5782, allocations: 1.624 MB / 1.541 GB, free: 6.371 MB / 1.232 GB Notification: Performance of pre-optimization done (n=132): time 3.096e-06/0.5782, allocations: 4 kB / 1.541 GB, free: 6.367 MB / 1.232 GB Notification: Performance of matching and sorting (n=132): time 0.01595/0.5942, allocations: 3.991 MB / 1.545 GB, free: 2.363 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.5943, allocations: 193.2 kB / 1.545 GB, free: 2.133 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.5955, allocations: 0.802 MB / 1.546 GB, free: 1.32 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.5957, allocations: 57.64 kB / 1.546 GB, free: 1.258 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.5962, allocations: 493.7 kB / 1.547 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/0.5966, allocations: 456.1 kB / 1.547 GB, free: 328 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.5972, allocations: 274.7 kB / 1.547 GB, free: 48 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5974, allocations: 345.9 kB / 1.548 GB, free: 15.7 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/0.6021, allocations: 1.181 MB / 1.549 GB, free: 14.52 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004841/0.6069, allocations: 1.327 MB / 1.55 GB, free: 13.16 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008935/0.6159, allocations: 2.282 MB / 1.552 GB, free: 10.86 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6159, allocations: 0 / 1.552 GB, free: 10.86 MB / 1.248 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01045/0.6263, allocations: 2.718 MB / 1.555 GB, free: 8.133 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6263, allocations: 10.02 kB / 1.555 GB, free: 8.125 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6263, allocations: 4 kB / 1.555 GB, free: 8.121 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.6269, allocations: 84.83 kB / 1.555 GB, free: 8.035 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.6301, allocations: 0.5069 MB / 1.556 GB, free: 7.527 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.6323, allocations: 1.546 MB / 1.557 GB, free: 5.859 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/0.6352, allocations: 362.9 kB / 1.558 GB, free: 5.504 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.6354, allocations: 63.92 kB / 1.558 GB, free: 5.441 MB / 1.248 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.0007116/0.6361, allocations: 340.1 kB / 1.558 GB, free: 5.102 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.6365, allocations: 115.2 kB / 1.558 GB, free: 4.988 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6485, allocations: 3.316 MB / 1.561 GB, free: 1.652 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.6485, allocations: 12 kB / 1.561 GB, free: 1.641 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6485, allocations: 0 / 1.561 GB, free: 1.641 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.6485, allocations: 7.969 kB / 1.561 GB, free: 1.633 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.6622, allocations: 4.877 MB / 1.566 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.6622, allocations: 0 / 1.566 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/0.6652, allocations: 0.4914 MB / 1.567 GB, free: 12.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/0.6656, allocations: 76.78 kB / 1.567 GB, free: 12.12 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.6658, allocations: 59.91 kB / 1.567 GB, free: 12.07 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.6677, allocations: 1.578 MB / 1.568 GB, free: 10.37 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6677, allocations: 3.938 kB / 1.568 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.6783, allocations: 2.923 MB / 1.571 GB, free: 7.414 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009774/0.6793, allocations: 374.6 kB / 1.571 GB, free: 7.047 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.6796, allocations: 31.98 kB / 1.572 GB, free: 7.016 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/0.6824, allocations: 309.4 kB / 1.572 GB, free: 6.715 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.6826, allocations: 121 kB / 1.572 GB, free: 6.598 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.6828, allocations: 63.92 kB / 1.572 GB, free: 6.535 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008543/0.6836, allocations: 0.5809 MB / 1.573 GB, free: 5.961 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6836, allocations: 0 / 1.573 GB, free: 5.961 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001359/0.685, allocations: 499 kB / 1.573 GB, free: 5.473 MB / 1.264 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 (145): * Single equations (assignments): 138 * 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.01266/0.6976, allocations: 4.01 MB / 1.577 GB, free: 1.613 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01024/0.7079, allocations: 2.742 MB / 1.58 GB, free: 14.86 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7079, allocations: 0 / 1.58 GB, free: 14.86 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005151/0.713, allocations: 1.497 MB / 1.581 GB, free: 13.35 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.7146, allocations: 343.8 kB / 1.581 GB, free: 13.03 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03765/0.7522, allocations: 13.48 MB / 1.595 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/0.7531, allocations: 1.167 MB / 1.596 GB, free: 14.19 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001955/0.7551, allocations: 0.5519 MB / 1.596 GB, free: 13.63 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.7562, allocations: 0.546 MB / 1.597 GB, free: 13.09 MB / 1.295 GB Notification: Performance of SimCode: time 8.62e-07/0.7562, allocations: 0 / 1.597 GB, free: 13.09 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6431/1.399, allocations: 34.57 MB / 1.631 GB, free: 250.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.47, allocations: 10.56 kB / 1.631 GB, free: 250.8 MB / 1.295 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.74010393000208]