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.0015/0.0015, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001445/0.001445, allocations: 212.7 kB / 23.04 MB, free: 5.07 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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 3.182/3.182, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_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.001846/0.001846, allocations: 70.92 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3516, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008529/0.3601, allocations: 5.926 MB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2105/0.5706, allocations: 154.9 MB / 1.502 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.572, allocations: 23.81 kB / 1.502 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008698/0.5728, allocations: 237.8 kB / 1.503 GB, free: 14.78 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.5752, allocations: 0.6733 MB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.5777, allocations: 1.021 MB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002796/0.5805, allocations: 1.932 MB / 1.506 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.5816, allocations: 0.5188 MB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.5828, allocations: 0.7048 MB / 1.507 GB, free: 9.895 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.5839, allocations: 0.7549 MB / 1.508 GB, free: 9.137 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.5842, allocations: 164 kB / 1.508 GB, free: 8.977 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.5857, allocations: 0.6908 MB / 1.509 GB, free: 8.285 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.5862, allocations: 446.7 kB / 1.509 GB, free: 7.848 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008848/0.5871, allocations: 0.7813 MB / 1.51 GB, free: 7.062 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.5906, allocations: 2.273 MB / 1.512 GB, free: 4.781 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5906, allocations: 4 kB / 1.512 GB, free: 4.777 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5906, allocations: 0 / 1.512 GB, free: 4.777 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.304e-05/0.5907, allocations: 4 kB / 1.512 GB, free: 4.773 MB / 1.201 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.004321/0.595, allocations: 1.818 MB / 1.514 GB, free: 2.91 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.595, allocations: 12.03 kB / 1.514 GB, free: 2.898 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.78e-05/0.5951, allocations: 30.64 kB / 1.514 GB, free: 2.867 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003071/0.5954, allocations: 190 kB / 1.514 GB, free: 2.672 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.6125, allocations: 1.985 MB / 1.516 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.6157, allocations: 0.9402 MB / 1.517 GB, free: 15.71 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.6159, allocations: 90.45 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.6162, allocations: 120 kB / 1.517 GB, free: 15.5 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008315/0.6245, allocations: 2.33 MB / 1.52 GB, free: 13.11 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.6245, allocations: 3.938 kB / 1.52 GB, free: 13.11 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.6247, allocations: 48 kB / 1.52 GB, free: 13.06 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.6248, allocations: 32 kB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.6375, allocations: 3.221 MB / 1.523 GB, free: 9.797 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.6495, allocations: 5.125 MB / 1.528 GB, free: 4.508 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.6634, allocations: 3.219 MB / 1.531 GB, free: 1.285 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005169/0.6686, allocations: 1.231 MB / 1.532 GB, free: 52 kB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.669, allocations: 89.03 kB / 1.532 GB, free: 15.96 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005885/0.6749, allocations: 1.635 MB / 1.534 GB, free: 14.31 MB / 1.233 GB Notification: Performance of pre-optimization done (n=132): time 2.655e-06/0.6749, allocations: 0 / 1.534 GB, free: 14.31 MB / 1.233 GB Notification: Performance of matching and sorting (n=132): time 0.01806/0.6929, allocations: 3.979 MB / 1.538 GB, free: 10.32 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.6931, allocations: 197.2 kB / 1.538 GB, free: 10.09 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.6948, allocations: 0.8097 MB / 1.539 GB, free: 9.266 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 0.0003062/0.6951, allocations: 49.7 kB / 1.539 GB, free: 9.211 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.000588/0.6957, allocations: 497.7 kB / 1.539 GB, free: 8.719 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006699/0.6963, allocations: 452.1 kB / 1.54 GB, free: 8.273 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007392/0.6971, allocations: 270.7 kB / 1.54 GB, free: 8.004 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.6973, allocations: 349.9 kB / 1.54 GB, free: 7.656 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/0.7025, allocations: 1.181 MB / 1.541 GB, free: 6.473 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005456/0.708, allocations: 1.323 MB / 1.543 GB, free: 5.113 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.7182, allocations: 2.278 MB / 1.545 GB, free: 2.824 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7182, allocations: 3.938 kB / 1.545 GB, free: 2.82 MB / 1.233 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0122/0.7304, allocations: 2.721 MB / 1.548 GB, free: 88 kB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.7304, allocations: 8.062 kB / 1.548 GB, free: 80 kB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.7304, allocations: 4 kB / 1.548 GB, free: 76 kB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006815/0.7311, allocations: 76.83 kB / 1.548 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/0.7348, allocations: 0.5148 MB / 1.548 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.7373, allocations: 1.543 MB / 1.55 GB, free: 13.81 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/0.7408, allocations: 366.8 kB / 1.55 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/0.7412, allocations: 63.92 kB / 1.55 GB, free: 13.39 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.001332/0.7425, allocations: 331.3 kB / 1.55 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/0.7431, allocations: 127.2 kB / 1.551 GB, free: 12.93 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/0.7577, allocations: 3.304 MB / 1.554 GB, free: 9.609 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.7577, allocations: 12 kB / 1.554 GB, free: 9.598 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7577, allocations: 0 / 1.554 GB, free: 9.598 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.7577, allocations: 7.969 kB / 1.554 GB, free: 9.59 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.774, allocations: 4.881 MB / 1.559 GB, free: 4.648 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.774, allocations: 3.984 kB / 1.559 GB, free: 4.645 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/0.7775, allocations: 0.4914 MB / 1.559 GB, free: 4.152 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.7781, allocations: 80.78 kB / 1.559 GB, free: 4.07 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004239/0.7785, allocations: 59.91 kB / 1.559 GB, free: 4.012 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.7807, allocations: 1.578 MB / 1.561 GB, free: 2.309 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7807, allocations: 0 / 1.561 GB, free: 2.309 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.7938, allocations: 2.935 MB / 1.564 GB, free: 15.35 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.795, allocations: 370.6 kB / 1.564 GB, free: 14.99 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000485/0.7955, allocations: 28 kB / 1.564 GB, free: 14.96 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/0.7988, allocations: 303.5 kB / 1.564 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.7991, allocations: 109 kB / 1.564 GB, free: 14.56 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/0.7994, allocations: 71.91 kB / 1.564 GB, free: 14.49 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001038/0.8004, allocations: 0.5771 MB / 1.565 GB, free: 13.91 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.8004, allocations: 0 / 1.565 GB, free: 13.91 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002036/0.8024, allocations: 0.4951 MB / 1.566 GB, free: 13.42 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.0169/0.8193, allocations: 4.007 MB / 1.569 GB, free: 9.562 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01196/0.8313, allocations: 2.742 MB / 1.572 GB, free: 6.805 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8313, allocations: 4.062 kB / 1.572 GB, free: 6.801 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006209/0.8375, allocations: 1.497 MB / 1.574 GB, free: 5.293 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.8397, allocations: 338.2 kB / 1.574 GB, free: 4.984 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/0.8855, allocations: 13.49 MB / 1.587 GB, free: 7.336 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.8866, allocations: 1.167 MB / 1.588 GB, free: 6.137 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002478/0.8891, allocations: 0.5519 MB / 1.589 GB, free: 5.582 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/0.8905, allocations: 0.5577 MB / 1.589 GB, free: 5.023 MB / 1.279 GB Notification: Performance of SimCode: time 1.353e-06/0.8905, allocations: 0 / 1.589 GB, free: 5.023 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8073/1.698, allocations: 34.58 MB / 1.623 GB, free: 259.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/17.37, allocations: 8.531 kB / 1.623 GB, free: 259.2 MB / 1.295 GB " [Timeout remaining time 282] (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: 24.325263058999553]