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.001614/0.001614, allocations: 107.7 kB / 16.4 MB, free: 6.5 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.001985/0.001985, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.452/1.452, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.11/3.11, allocations: 489 MB / 0.7678 GB, free: 29.15 MB / 0.6231 GB " [Timeout remaining time 177] 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.001936/0.001936, allocations: 67.89 kB / 1.101 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9533/0.9553, allocations: 163.8 MB / 1.261 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009085/0.9644, allocations: 6.243 MB / 1.267 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1968/1.161, allocations: 151.6 MB / 1.415 GB, free: 8.711 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/1.163, allocations: 19.94 kB / 1.415 GB, free: 8.691 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008192/1.163, allocations: 225.8 kB / 1.415 GB, free: 8.469 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002506/1.166, allocations: 0.6947 MB / 1.416 GB, free: 7.773 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/1.169, allocations: 1.003 MB / 1.417 GB, free: 6.777 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002665/1.171, allocations: 2.06 MB / 1.419 GB, free: 4.711 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/1.173, allocations: 0.8602 MB / 1.42 GB, free: 3.816 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/1.174, allocations: 0.7359 MB / 1.421 GB, free: 3.078 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/1.175, allocations: 0.7937 MB / 1.421 GB, free: 2.281 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/1.175, allocations: 192 kB / 1.422 GB, free: 2.094 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/1.177, allocations: 0.6674 MB / 1.422 GB, free: 1.426 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000476/1.177, allocations: 478.6 kB / 1.423 GB, free: 0.957 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008928/1.178, allocations: 0.8592 MB / 1.423 GB, free: 96 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003261/1.181, allocations: 2.494 MB / 1.426 GB, free: 13.59 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.181, allocations: 0 / 1.426 GB, free: 13.59 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.625e-06/1.181, allocations: 0 / 1.426 GB, free: 13.59 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.592e-05/1.181, allocations: 0 / 1.426 GB, free: 13.59 MB / 1.139 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.003745/1.185, allocations: 1.959 MB / 1.428 GB, free: 11.57 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.185, allocations: 12.03 kB / 1.428 GB, free: 11.56 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/1.185, allocations: 198.7 kB / 1.428 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009329/1.195, allocations: 1.303 MB / 1.429 GB, free: 10.05 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/1.197, allocations: 1.06 MB / 1.43 GB, free: 8.949 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/1.197, allocations: 102.7 kB / 1.43 GB, free: 8.848 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/1.197, allocations: 128 kB / 1.431 GB, free: 8.723 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005879/1.203, allocations: 2.205 MB / 1.433 GB, free: 6.457 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/1.203, allocations: 0 / 1.433 GB, free: 6.457 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/1.203, allocations: 56 kB / 1.433 GB, free: 6.402 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/1.203, allocations: 35.94 kB / 1.433 GB, free: 6.367 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008496/1.212, allocations: 2.968 MB / 1.436 GB, free: 3.391 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/1.222, allocations: 5.513 MB / 1.441 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008754/1.231, allocations: 2.888 MB / 1.444 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/1.234, allocations: 1.121 MB / 1.445 GB, free: 9.668 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/1.235, allocations: 0.6183 MB / 1.446 GB, free: 8.918 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004093/1.239, allocations: 1.438 MB / 1.447 GB, free: 7.461 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 2.935e-06/1.239, allocations: 0 / 1.447 GB, free: 7.461 MB / 1.154 GB Notification: Performance of matching and sorting (n=133): time 0.01273/1.252, allocations: 3.633 MB / 1.451 GB, free: 3.801 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/1.252, allocations: 197.2 kB / 1.451 GB, free: 3.562 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/1.254, allocations: 0.8216 MB / 1.452 GB, free: 2.73 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.254, allocations: 57.64 kB / 1.452 GB, free: 2.668 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/1.255, allocations: 0.5172 MB / 1.452 GB, free: 2.145 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005805/1.255, allocations: 452.1 kB / 1.453 GB, free: 1.699 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005786/1.256, allocations: 258.7 kB / 1.453 GB, free: 1.441 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002224/1.256, allocations: 349.9 kB / 1.453 GB, free: 1.094 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/1.26, allocations: 1.037 MB / 1.454 GB, free: 56 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/1.263, allocations: 1.183 MB / 1.455 GB, free: 14.84 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007062/1.271, allocations: 2.048 MB / 1.457 GB, free: 12.77 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.271, allocations: 0 / 1.457 GB, free: 12.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008676/1.279, allocations: 2.433 MB / 1.46 GB, free: 10.32 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.279, allocations: 8 kB / 1.46 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.279, allocations: 0 / 1.46 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/1.28, allocations: 84.89 kB / 1.46 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/1.283, allocations: 419.3 kB / 1.46 GB, free: 9.82 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/1.285, allocations: 1.654 MB / 1.462 GB, free: 8.023 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/1.288, allocations: 284.9 kB / 1.462 GB, free: 7.746 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/1.288, allocations: 63.92 kB / 1.462 GB, free: 7.684 MB / 1.17 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.0008512/1.289, allocations: 347.3 kB / 1.462 GB, free: 7.336 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/1.289, allocations: 123.2 kB / 1.463 GB, free: 7.215 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/1.298, allocations: 2.88 MB / 1.465 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/1.298, allocations: 16 kB / 1.465 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/1.298, allocations: 4 kB / 1.465 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/1.298, allocations: 11.91 kB / 1.465 GB, free: 4.289 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/1.302, allocations: 1.824 MB / 1.467 GB, free: 2.418 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.302, allocations: 4 kB / 1.467 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.304, allocations: 415.3 kB / 1.468 GB, free: 2.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/1.305, allocations: 68.8 kB / 1.468 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/1.305, allocations: 51.94 kB / 1.468 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/1.308, allocations: 1.674 MB / 1.469 GB, free: 64 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.308, allocations: 3.938 kB / 1.469 GB, free: 60 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008555/1.316, allocations: 2.585 MB / 1.472 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.317, allocations: 471.7 kB / 1.472 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/1.317, allocations: 31.94 kB / 1.472 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.319, allocations: 227.7 kB / 1.473 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.32, allocations: 105.1 kB / 1.473 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/1.32, allocations: 68 kB / 1.473 GB, free: 12.54 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009997/1.321, allocations: 0.5888 MB / 1.473 GB, free: 11.96 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.321, allocations: 0 / 1.473 GB, free: 11.96 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001712/1.323, allocations: 0.5067 MB / 1.474 GB, free: 11.45 MB / 1.186 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.01083/1.334, allocations: 3.683 MB / 1.477 GB, free: 7.934 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008295/1.342, allocations: 2.496 MB / 1.48 GB, free: 5.422 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.342, allocations: 0 / 1.48 GB, free: 5.422 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004222/1.346, allocations: 1.4 MB / 1.481 GB, free: 4.012 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/1.348, allocations: 343.4 kB / 1.482 GB, free: 3.688 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/1.382, allocations: 12.77 MB / 1.494 GB, free: 6.762 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.383, allocations: 1.191 MB / 1.495 GB, free: 5.539 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001948/1.385, allocations: 481.5 kB / 1.496 GB, free: 5.066 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.386, allocations: 0.5889 MB / 1.496 GB, free: 4.477 MB / 1.201 GB Notification: Performance of SimCode: time 8.42e-07/1.386, allocations: 0 / 1.496 GB, free: 4.477 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/1.468, allocations: 33.22 MB / 1.529 GB, free: 3.562 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.88, allocations: 3.938 kB / 1.529 GB, free: 3.559 MB / 1.232 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.270665294025093]