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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 111.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.345/3.345, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.03 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3865, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009959/0.3964, allocations: 6.275 MB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2063/0.6027, allocations: 152 MB / 1.459 GB, free: 2.652 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.6041, allocations: 23.88 kB / 1.459 GB, free: 2.629 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008692/0.605, allocations: 233.8 kB / 1.459 GB, free: 2.398 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.6078, allocations: 0.7064 MB / 1.459 GB, free: 1.691 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.6106, allocations: 0.9993 MB / 1.46 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002812/0.6134, allocations: 2.052 MB / 1.462 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.6145, allocations: 0.587 MB / 1.463 GB, free: 14.01 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.6158, allocations: 0.7398 MB / 1.464 GB, free: 13.27 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6168, allocations: 0.8054 MB / 1.465 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.6171, allocations: 196 kB / 1.465 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.6184, allocations: 0.6674 MB / 1.465 GB, free: 11.6 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/0.6189, allocations: 486.6 kB / 1.466 GB, free: 11.12 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009048/0.6198, allocations: 0.8514 MB / 1.467 GB, free: 10.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.6232, allocations: 2.483 MB / 1.469 GB, free: 7.777 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6232, allocations: 0 / 1.469 GB, free: 7.777 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6232, allocations: 0 / 1.469 GB, free: 7.777 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.359e-05/0.6232, allocations: 0 / 1.469 GB, free: 7.777 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.004115/0.6273, allocations: 1.962 MB / 1.471 GB, free: 5.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.6274, allocations: 12.61 kB / 1.471 GB, free: 5.738 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.6276, allocations: 198.7 kB / 1.471 GB, free: 5.535 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009024/0.6366, allocations: 1.295 MB / 1.472 GB, free: 4.238 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.6391, allocations: 1.067 MB / 1.473 GB, free: 3.129 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.6392, allocations: 98.67 kB / 1.474 GB, free: 3.031 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.6395, allocations: 132 kB / 1.474 GB, free: 2.902 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/0.6452, allocations: 2.205 MB / 1.476 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.6452, allocations: 0 / 1.476 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.6454, allocations: 56 kB / 1.476 GB, free: 0.582 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.6454, allocations: 35.98 kB / 1.476 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008097/0.6535, allocations: 2.96 MB / 1.479 GB, free: 13.58 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.6647, allocations: 5.532 MB / 1.484 GB, free: 7.855 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008181/0.6729, allocations: 2.8 MB / 1.487 GB, free: 5.051 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.6761, allocations: 1.078 MB / 1.488 GB, free: 3.973 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007133/0.6769, allocations: 0.6105 MB / 1.489 GB, free: 3.23 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003883/0.6807, allocations: 1.458 MB / 1.49 GB, free: 1.754 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.156e-06/0.6807, allocations: 0 / 1.49 GB, free: 1.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01146/0.6922, allocations: 3.629 MB / 1.494 GB, free: 14.1 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.6924, allocations: 197.2 kB / 1.494 GB, free: 13.86 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.6937, allocations: 0.8139 MB / 1.495 GB, free: 13.04 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.6939, allocations: 49.7 kB / 1.495 GB, free: 12.98 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/0.6945, allocations: 0.525 MB / 1.495 GB, free: 12.45 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005407/0.695, allocations: 460.1 kB / 1.496 GB, free: 12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005096/0.6955, allocations: 246.8 kB / 1.496 GB, free: 11.75 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6957, allocations: 357.9 kB / 1.496 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/0.6988, allocations: 1.033 MB / 1.497 GB, free: 10.36 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003298/0.7021, allocations: 1.179 MB / 1.498 GB, free: 9.152 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/0.7083, allocations: 2.048 MB / 1.5 GB, free: 7.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.7083, allocations: 4 kB / 1.5 GB, free: 7.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007705/0.716, allocations: 2.437 MB / 1.503 GB, free: 4.637 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.7161, allocations: 8 kB / 1.503 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.7161, allocations: 0 / 1.503 GB, free: 4.629 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.7167, allocations: 84.83 kB / 1.503 GB, free: 4.543 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/0.7191, allocations: 427.3 kB / 1.503 GB, free: 4.125 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.7217, allocations: 1.642 MB / 1.505 GB, free: 2.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.7241, allocations: 283.1 kB / 1.505 GB, free: 2.062 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.7243, allocations: 59.92 kB / 1.505 GB, free: 2.004 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.0008746/0.7252, allocations: 355.3 kB / 1.505 GB, free: 1.648 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.7256, allocations: 131.1 kB / 1.506 GB, free: 1.52 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008724/0.7343, allocations: 2.88 MB / 1.508 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.7343, allocations: 16 kB / 1.508 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7343, allocations: 0 / 1.508 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.7344, allocations: 7.969 kB / 1.508 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.7371, allocations: 1.816 MB / 1.51 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.7371, allocations: 3.984 kB / 1.51 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/0.7396, allocations: 415.3 kB / 1.511 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.74, allocations: 68.8 kB / 1.511 GB, free: 12.25 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.7403, allocations: 51.94 kB / 1.511 GB, free: 12.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.7425, allocations: 1.679 MB / 1.512 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7426, allocations: 0 / 1.512 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008057/0.7506, allocations: 2.585 MB / 1.515 GB, free: 7.766 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.7517, allocations: 467.7 kB / 1.515 GB, free: 7.289 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.752, allocations: 39.88 kB / 1.515 GB, free: 7.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.754, allocations: 230.1 kB / 1.516 GB, free: 7.027 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.7542, allocations: 109.2 kB / 1.516 GB, free: 6.922 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.7544, allocations: 59.94 kB / 1.516 GB, free: 6.863 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008869/0.7553, allocations: 0.581 MB / 1.516 GB, free: 6.289 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7553, allocations: 0 / 1.516 GB, free: 6.289 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001398/0.7567, allocations: 0.5145 MB / 1.517 GB, free: 5.773 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.01007/0.7667, allocations: 3.675 MB / 1.52 GB, free: 2.254 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007771/0.7745, allocations: 2.449 MB / 1.523 GB, free: 15.79 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.7745, allocations: 0 / 1.523 GB, free: 15.79 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.7786, allocations: 1.349 MB / 1.524 GB, free: 14.43 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.7805, allocations: 358.8 kB / 1.524 GB, free: 14.1 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/0.8133, allocations: 12.76 MB / 1.537 GB, free: 1.188 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.8145, allocations: 1.2 MB / 1.538 GB, free: 15.96 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002154/0.8167, allocations: 493.5 kB / 1.539 GB, free: 15.47 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.818, allocations: 0.5773 MB / 1.539 GB, free: 14.89 MB / 1.248 GB Notification: Performance of SimCode: time 1.252e-06/0.818, allocations: 0 / 1.539 GB, free: 14.89 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08583/0.9038, allocations: 33.36 MB / 1.572 GB, free: 13.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.41, allocations: 8.062 kB / 1.572 GB, free: 13.79 MB / 1.279 GB " [Timeout remaining time 284] (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_2/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: 22.76525398204103]