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.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.001527/0.001527, 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.00195/0.00195, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.229/3.229, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_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.001996/0.001996, allocations: 63.12 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4021, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008882/0.411, allocations: 6.339 MB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1901/0.6011, allocations: 155.1 MB / 1.503 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.6025, allocations: 27.81 kB / 1.503 GB, free: 14.41 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.6034, allocations: 245.7 kB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.6064, allocations: 0.7186 MB / 1.504 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.6092, allocations: 1.038 MB / 1.505 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.6118, allocations: 2.076 MB / 1.507 GB, free: 10.33 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.6129, allocations: 0.5839 MB / 1.508 GB, free: 9.711 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.6141, allocations: 0.7671 MB / 1.508 GB, free: 8.941 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.6152, allocations: 0.8132 MB / 1.509 GB, free: 8.125 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.6155, allocations: 196 kB / 1.509 GB, free: 7.934 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.617, allocations: 0.7104 MB / 1.51 GB, free: 7.223 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004698/0.6175, allocations: 494.6 kB / 1.51 GB, free: 6.738 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008613/0.6183, allocations: 0.8592 MB / 1.511 GB, free: 5.875 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.6221, allocations: 2.538 MB / 1.514 GB, free: 3.328 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6221, allocations: 0 / 1.514 GB, free: 3.328 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6221, allocations: 0 / 1.514 GB, free: 3.328 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.457e-05/0.6221, allocations: 0 / 1.514 GB, free: 3.328 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004122/0.6263, allocations: 1.921 MB / 1.516 GB, free: 1.363 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.6263, allocations: 12.03 kB / 1.516 GB, free: 1.352 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.699e-05/0.6264, allocations: 38.86 kB / 1.516 GB, free: 1.312 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002455/0.6266, allocations: 202.6 kB / 1.516 GB, free: 1.105 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/0.6436, allocations: 1.985 MB / 1.518 GB, free: 15.12 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.6463, allocations: 1.03 MB / 1.519 GB, free: 14.05 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.6465, allocations: 102.6 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.6468, allocations: 128 kB / 1.519 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008186/0.655, allocations: 2.502 MB / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.655, allocations: 0 / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.6552, allocations: 60 kB / 1.522 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.6553, allocations: 32 kB / 1.522 GB, free: 11.17 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.668, allocations: 3.444 MB / 1.525 GB, free: 7.719 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.682, allocations: 5.965 MB / 1.531 GB, free: 1.574 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/0.6968, allocations: 3.461 MB / 1.534 GB, free: 14.11 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005649/0.7025, allocations: 1.335 MB / 1.535 GB, free: 12.77 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.7029, allocations: 89.19 kB / 1.536 GB, free: 12.68 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006459/0.7093, allocations: 1.734 MB / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of pre-optimization done (n=133): time 4.589e-06/0.7093, allocations: 0 / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=133): time 0.0189/0.7282, allocations: 4.252 MB / 1.541 GB, free: 6.664 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.7284, allocations: 197.2 kB / 1.542 GB, free: 6.43 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.7298, allocations: 0.8375 MB / 1.542 GB, free: 5.578 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.7301, allocations: 49.7 kB / 1.542 GB, free: 5.523 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.7307, allocations: 0.5405 MB / 1.543 GB, free: 4.977 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/0.7314, allocations: 452.1 kB / 1.543 GB, free: 4.531 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007031/0.7321, allocations: 270.7 kB / 1.544 GB, free: 4.262 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7323, allocations: 349.9 kB / 1.544 GB, free: 3.914 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005334/0.7376, allocations: 1.279 MB / 1.545 GB, free: 2.633 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005588/0.7432, allocations: 1.421 MB / 1.547 GB, free: 1.176 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.7536, allocations: 2.438 MB / 1.549 GB, free: 14.72 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.7536, allocations: 0 / 1.549 GB, free: 14.72 MB / 1.248 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01209/0.7657, allocations: 2.885 MB / 1.552 GB, free: 11.82 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.7657, allocations: 8 kB / 1.552 GB, free: 11.82 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7658, allocations: 0 / 1.552 GB, free: 11.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.7664, allocations: 88.83 kB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.7699, allocations: 0.5108 MB / 1.552 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.7724, allocations: 1.535 MB / 1.554 GB, free: 9.559 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/0.7759, allocations: 363.1 kB / 1.554 GB, free: 9.203 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/0.7762, allocations: 75.91 kB / 1.554 GB, free: 9.129 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 (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.001105/0.7773, allocations: 351.3 kB / 1.555 GB, free: 8.773 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005543/0.7779, allocations: 127.1 kB / 1.555 GB, free: 8.648 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.7916, allocations: 3.488 MB / 1.558 GB, free: 5.148 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.7916, allocations: 12 kB / 1.558 GB, free: 5.137 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7917, allocations: 4 kB / 1.558 GB, free: 5.133 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.7917, allocations: 11.97 kB / 1.558 GB, free: 5.121 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.7951, allocations: 1.961 MB / 1.56 GB, free: 3.113 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.7951, allocations: 0 / 1.56 GB, free: 3.113 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003376/0.7985, allocations: 0.4914 MB / 1.561 GB, free: 2.621 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/0.799, allocations: 84.72 kB / 1.561 GB, free: 2.535 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.7992, allocations: 51.92 kB / 1.561 GB, free: 2.484 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.8014, allocations: 1.574 MB / 1.562 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8014, allocations: 0 / 1.562 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.8138, allocations: 3.025 MB / 1.565 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.815, allocations: 422.5 kB / 1.566 GB, free: 13.32 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004411/0.8155, allocations: 28 kB / 1.566 GB, free: 13.29 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/0.8187, allocations: 315.5 kB / 1.566 GB, free: 12.98 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.8189, allocations: 109.1 kB / 1.566 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/0.8191, allocations: 63.92 kB / 1.566 GB, free: 12.82 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001012/0.8201, allocations: 0.6044 MB / 1.567 GB, free: 12.21 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.8201, allocations: 0 / 1.567 GB, free: 12.21 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001775/0.8219, allocations: 0.5145 MB / 1.567 GB, free: 11.7 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,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 (146): * Single equations (assignments): 139 * 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.01478/0.8367, allocations: 4.104 MB / 1.571 GB, free: 7.746 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01207/0.8487, allocations: 2.949 MB / 1.574 GB, free: 4.781 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.8487, allocations: 0 / 1.574 GB, free: 4.781 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006261/0.855, allocations: 1.599 MB / 1.576 GB, free: 3.172 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.857, allocations: 357.9 kB / 1.576 GB, free: 2.836 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04591/0.9029, allocations: 14.26 MB / 1.59 GB, free: 4.406 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.904, allocations: 1.195 MB / 1.591 GB, free: 3.184 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002383/0.9063, allocations: 0.5561 MB / 1.592 GB, free: 2.625 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.9077, allocations: 0.5968 MB / 1.592 GB, free: 2.027 MB / 1.279 GB Notification: Performance of SimCode: time 1.303e-06/0.9077, allocations: 0 / 1.592 GB, free: 2.027 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7793/1.687, allocations: 36.31 MB / 1.628 GB, free: 260.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.96, allocations: 14.95 kB / 1.628 GB, free: 260.6 MB / 1.295 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.137643063033465]