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.001764/0.001764, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.002066/0.002066, allocations: 154.5 kB / 23.01 MB, free: 4.961 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.833/2.833, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") [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.002306/0.002306, allocations: 71.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.928, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00757/0.9356, allocations: 5.262 MB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2392/1.175, allocations: 133.3 MB / 1.322 GB, free: 11.3 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/1.176, allocations: 23.81 kB / 1.322 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007426/1.177, allocations: 233.8 kB / 1.322 GB, free: 11.04 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00251/1.179, allocations: 0.6671 MB / 1.323 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002642/1.182, allocations: 1.003 MB / 1.324 GB, free: 9.379 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002473/1.184, allocations: 1.94 MB / 1.326 GB, free: 7.434 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009299/1.185, allocations: 0.4914 MB / 1.326 GB, free: 6.902 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/1.187, allocations: 0.7048 MB / 1.327 GB, free: 6.195 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/1.188, allocations: 0.6845 MB / 1.328 GB, free: 5.508 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/1.188, allocations: 164 kB / 1.328 GB, free: 5.348 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/1.189, allocations: 0.6518 MB / 1.328 GB, free: 4.695 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004695/1.19, allocations: 442.7 kB / 1.329 GB, free: 4.262 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007218/1.191, allocations: 0.6376 MB / 1.329 GB, free: 3.621 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003244/1.194, allocations: 2.288 MB / 1.332 GB, free: 1.328 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.194, allocations: 0 / 1.332 GB, free: 1.328 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.935e-06/1.194, allocations: 4 kB / 1.332 GB, free: 1.324 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.292e-05/1.194, allocations: 4 kB / 1.332 GB, free: 1.32 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003828/1.198, allocations: 1.807 MB / 1.333 GB, free: 15.46 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.198, allocations: 8.031 kB / 1.333 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/1.216, allocations: 1.985 MB / 1.335 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/1.218, allocations: 0.9483 MB / 1.336 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.218, allocations: 90.45 kB / 1.336 GB, free: 12.41 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/1.219, allocations: 120 kB / 1.337 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008032/1.227, allocations: 2.573 MB / 1.339 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/1.227, allocations: 0 / 1.339 GB, free: 9.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/1.227, allocations: 52 kB / 1.339 GB, free: 9.539 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/1.227, allocations: 35.94 kB / 1.339 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/1.24, allocations: 3.17 MB / 1.342 GB, free: 6.324 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/1.25, allocations: 4.154 MB / 1.346 GB, free: 2.102 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/1.265, allocations: 3.227 MB / 1.349 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005591/1.271, allocations: 1.225 MB / 1.351 GB, free: 13.64 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/1.271, allocations: 80.92 kB / 1.351 GB, free: 13.56 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006466/1.277, allocations: 1.726 MB / 1.352 GB, free: 11.79 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 4.208e-06/1.277, allocations: 0 / 1.352 GB, free: 11.79 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01852/1.296, allocations: 3.975 MB / 1.356 GB, free: 7.805 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/1.296, allocations: 197.2 kB / 1.356 GB, free: 7.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.297, allocations: 0.6959 MB / 1.357 GB, free: 6.867 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.298, allocations: 57.7 kB / 1.357 GB, free: 6.805 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/1.298, allocations: 0.4898 MB / 1.358 GB, free: 6.309 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/1.299, allocations: 452.2 kB / 1.358 GB, free: 5.863 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006457/1.299, allocations: 286.7 kB / 1.358 GB, free: 5.578 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002441/1.3, allocations: 402.7 kB / 1.359 GB, free: 5.176 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005623/1.305, allocations: 1.201 MB / 1.36 GB, free: 3.973 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005984/1.311, allocations: 1.486 MB / 1.361 GB, free: 2.43 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.322, allocations: 2.301 MB / 1.364 GB, free: 116 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.322, allocations: 4 kB / 1.364 GB, free: 112 kB / 1.201 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01305/1.335, allocations: 2.761 MB / 1.366 GB, free: 13.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.335, allocations: 7.938 kB / 1.366 GB, free: 13.33 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.335, allocations: 4 kB / 1.366 GB, free: 13.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006801/1.336, allocations: 84.83 kB / 1.366 GB, free: 13.24 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/1.34, allocations: 0.5187 MB / 1.367 GB, free: 12.72 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/1.342, allocations: 1.525 MB / 1.368 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.346, allocations: 355 kB / 1.369 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/1.346, allocations: 67.91 kB / 1.369 GB, free: 10.67 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (150): * Single equations (assignments): 149 * 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.001006/1.347, allocations: 339.5 kB / 1.369 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/1.348, allocations: 111.3 kB / 1.369 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/1.362, allocations: 3.299 MB / 1.372 GB, free: 6.902 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/1.362, allocations: 15.94 kB / 1.372 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.362, allocations: 0 / 1.372 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/1.362, allocations: 7.984 kB / 1.372 GB, free: 6.879 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/1.378, allocations: 4.442 MB / 1.377 GB, free: 2.395 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.378, allocations: 4 kB / 1.377 GB, free: 2.391 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003743/1.382, allocations: 0.4914 MB / 1.377 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/1.382, allocations: 76.78 kB / 1.377 GB, free: 1.82 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/1.383, allocations: 55.92 kB / 1.377 GB, free: 1.766 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/1.385, allocations: 1.543 MB / 1.379 GB, free: 116 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.385, allocations: 0 / 1.379 GB, free: 116 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.398, allocations: 2.923 MB / 1.382 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.399, allocations: 350.7 kB / 1.382 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/1.4, allocations: 31.95 kB / 1.382 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/1.403, allocations: 314.5 kB / 1.382 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/1.403, allocations: 113.1 kB / 1.383 GB, free: 12.37 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/1.404, allocations: 63.92 kB / 1.383 GB, free: 12.31 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008806/1.405, allocations: 0.499 MB / 1.383 GB, free: 11.82 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.405, allocations: 0 / 1.383 GB, free: 11.82 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001768/1.406, allocations: 0.5067 MB / 1.384 GB, free: 11.31 MB / 1.232 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.002423/1.409, allocations: 0.6774 MB / 1.384 GB, free: 10.84 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.421, allocations: 2.777 MB / 1.387 GB, free: 8.047 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.421, allocations: 0 / 1.387 GB, free: 8.047 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.006406/1.428, allocations: 1.489 MB / 1.388 GB, free: 6.543 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.43, allocations: 321.4 kB / 1.389 GB, free: 6.242 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/1.439, allocations: 3.078 MB / 1.392 GB, free: 3.133 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/1.44, allocations: 0.572 MB / 1.392 GB, free: 2.531 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002441/1.443, allocations: 0.5433 MB / 1.393 GB, free: 1.984 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009241/1.444, allocations: 184.3 kB / 1.393 GB, free: 1.805 MB / 1.232 GB Notification: Performance of SimCode: time 1.293e-06/1.444, allocations: 0 / 1.393 GB, free: 1.805 MB / 1.232 GB Notification: Performance of Templates: time 0.044/1.488, allocations: 24.97 MB / 1.417 GB, free: 9.07 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 800] 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: 10.485713951988146]