Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001302/0.001302, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001424/0.001424, allocations: 218.2 kB / 22.25 MB, free: 5.258 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.773 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.138/3.138, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_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.002007/0.002007, allocations: 68.66 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4083, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009453/0.4178, allocations: 5.613 MB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1844/0.6022, allocations: 133.6 MB / 1.462 GB, free: 5.766 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.6037, allocations: 31.81 kB / 1.462 GB, free: 5.734 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.6048, allocations: 241.7 kB / 1.462 GB, free: 5.496 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.6079, allocations: 0.7172 MB / 1.463 GB, free: 4.777 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.6108, allocations: 1.022 MB / 1.464 GB, free: 3.762 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003173/0.614, allocations: 2.084 MB / 1.466 GB, free: 1.672 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.6153, allocations: 0.58 MB / 1.466 GB, free: 1.051 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.6167, allocations: 0.7671 MB / 1.467 GB, free: 288 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.6179, allocations: 0.8133 MB / 1.468 GB, free: 15.46 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.6181, allocations: 200 kB / 1.468 GB, free: 15.27 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.6196, allocations: 0.6947 MB / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004911/0.6201, allocations: 486.6 kB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007837/0.6209, allocations: 0.7077 MB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.6243, allocations: 2.545 MB / 1.472 GB, free: 10.83 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6243, allocations: 7.875 kB / 1.472 GB, free: 10.82 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6243, allocations: 0 / 1.472 GB, free: 10.82 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.402e-05/0.6243, allocations: 0 / 1.472 GB, free: 10.82 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.004126/0.6284, allocations: 1.914 MB / 1.474 GB, free: 8.863 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.6285, allocations: 15.97 kB / 1.474 GB, free: 8.848 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002577/0.6288, allocations: 202.7 kB / 1.474 GB, free: 8.641 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.6395, allocations: 1.381 MB / 1.476 GB, free: 7.258 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.642, allocations: 1.003 MB / 1.477 GB, free: 6.227 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.6421, allocations: 98.67 kB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.6424, allocations: 132 kB / 1.477 GB, free: 6 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005877/0.6483, allocations: 2.456 MB / 1.479 GB, free: 3.422 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.6483, allocations: 0 / 1.479 GB, free: 3.422 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.6485, allocations: 56 kB / 1.479 GB, free: 3.367 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.6486, allocations: 32 kB / 1.479 GB, free: 3.336 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008001/0.6566, allocations: 2.917 MB / 1.482 GB, free: 420 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.6671, allocations: 4.5 MB / 1.487 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007914/0.675, allocations: 2.788 MB / 1.489 GB, free: 9.039 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.6781, allocations: 1.086 MB / 1.49 GB, free: 7.953 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/0.6785, allocations: 73.23 kB / 1.491 GB, free: 7.879 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003776/0.6822, allocations: 1.562 MB / 1.492 GB, free: 6.273 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/0.6822, allocations: 0 / 1.492 GB, free: 6.273 MB / 1.186 GB Notification: Performance of matching and sorting (n=133): time 0.01162/0.6938, allocations: 3.546 MB / 1.496 GB, free: 2.719 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.694, allocations: 209.2 kB / 1.496 GB, free: 2.469 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.6953, allocations: 0.8413 MB / 1.497 GB, free: 1.617 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.6955, allocations: 53.7 kB / 1.497 GB, free: 1.559 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/0.696, allocations: 0.525 MB / 1.497 GB, free: 1.027 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.6964, allocations: 460.1 kB / 1.498 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/0.6969, allocations: 254.7 kB / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.6971, allocations: 349.9 kB / 1.498 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.7002, allocations: 1.033 MB / 1.499 GB, free: 14.94 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/0.7035, allocations: 1.329 MB / 1.5 GB, free: 13.54 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005943/0.7095, allocations: 2.044 MB / 1.502 GB, free: 11.48 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.7095, allocations: 0 / 1.502 GB, free: 11.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007364/0.7168, allocations: 2.437 MB / 1.505 GB, free: 9.031 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.7168, allocations: 4 kB / 1.505 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7169, allocations: 0 / 1.505 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/0.7175, allocations: 92.77 kB / 1.505 GB, free: 8.934 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.7201, allocations: 423.4 kB / 1.505 GB, free: 8.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.7224, allocations: 1.542 MB / 1.507 GB, free: 6.855 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.7248, allocations: 289.3 kB / 1.507 GB, free: 6.574 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.725, allocations: 67.86 kB / 1.507 GB, free: 6.508 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.0007993/0.7258, allocations: 347.9 kB / 1.508 GB, free: 6.156 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.7261, allocations: 127.1 kB / 1.508 GB, free: 6.031 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/0.7344, allocations: 2.88 MB / 1.51 GB, free: 3.137 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.7344, allocations: 16 kB / 1.51 GB, free: 3.121 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7344, allocations: 4 kB / 1.51 GB, free: 3.117 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.7344, allocations: 11.95 kB / 1.51 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.7368, allocations: 1.46 MB / 1.512 GB, free: 1.602 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.7368, allocations: 0 / 1.512 GB, free: 1.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/0.7391, allocations: 415.3 kB / 1.512 GB, free: 1.195 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.7396, allocations: 76.72 kB / 1.512 GB, free: 1.117 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.7398, allocations: 51.94 kB / 1.512 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.7418, allocations: 1.57 MB / 1.514 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7418, allocations: 0 / 1.514 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007745/0.7496, allocations: 2.585 MB / 1.516 GB, free: 12.77 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.7508, allocations: 402.6 kB / 1.517 GB, free: 12.38 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.751, allocations: 28 kB / 1.517 GB, free: 12.35 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/0.7531, allocations: 227.7 kB / 1.517 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.7534, allocations: 101.1 kB / 1.517 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.7535, allocations: 71.92 kB / 1.517 GB, free: 11.96 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009778/0.7545, allocations: 0.6044 MB / 1.518 GB, free: 11.36 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7545, allocations: 0 / 1.518 GB, free: 11.36 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00167/0.7562, allocations: 0.5183 MB / 1.518 GB, free: 10.84 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.01027/0.7665, allocations: 3.712 MB / 1.522 GB, free: 7.301 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00716/0.7736, allocations: 2.453 MB / 1.524 GB, free: 4.836 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7736, allocations: 0 / 1.524 GB, free: 4.836 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.7773, allocations: 1.345 MB / 1.526 GB, free: 3.477 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.7789, allocations: 369.3 kB / 1.526 GB, free: 3.137 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/0.8095, allocations: 12.83 MB / 1.539 GB, free: 6.145 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.8102, allocations: 0.6181 MB / 1.539 GB, free: 5.492 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001794/0.812, allocations: 493.6 kB / 1.54 GB, free: 5.008 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.8131, allocations: 0.5812 MB / 1.54 GB, free: 4.426 MB / 1.232 GB Notification: Performance of SimCode: time 1.283e-06/0.8131, allocations: 0 / 1.54 GB, free: 4.426 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/0.8965, allocations: 36.38 MB / 1.576 GB, free: 412 kB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.19, allocations: 2.922 kB / 1.576 GB, free: 412 kB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.118255709996447]