Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0084/0.008401, allocations: 98.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 202.7 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.89 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.8871, allocations: 140.4 MB / 1.088 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006278/0.8935, allocations: 5.1 MB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2154/1.109, allocations: 151.2 MB / 1.241 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/1.111, allocations: 21.62 kB / 1.241 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/1.113, allocations: 196.1 kB / 1.241 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/1.117, allocations: 0.5921 MB / 1.241 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/1.121, allocations: 0.9717 MB / 1.242 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003377/1.124, allocations: 1.785 MB / 1.244 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/1.126, allocations: 0.8045 MB / 1.245 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/1.127, allocations: 0.6703 MB / 1.246 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/1.129, allocations: 0.7081 MB / 1.246 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005726/1.129, allocations: 164 kB / 1.246 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/1.131, allocations: 0.6362 MB / 1.247 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007132/1.132, allocations: 446.7 kB / 1.247 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/1.134, allocations: 0.7501 MB / 1.248 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003799/1.137, allocations: 2.165 MB / 1.25 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.137, allocations: 4 kB / 1.25 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.906e-06/1.137, allocations: 0 / 1.25 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.413e-05/1.138, allocations: 0 / 1.25 GB, free: 7.645 MB / 0.9825 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.004648/1.142, allocations: 1.791 MB / 1.252 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.142, allocations: 8.031 kB / 1.252 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/1.152, allocations: 1.278 MB / 1.253 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/1.154, allocations: 0.9808 MB / 1.254 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.154, allocations: 90.45 kB / 1.254 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/1.154, allocations: 120 kB / 1.254 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005742/1.16, allocations: 2.038 MB / 1.256 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.16, allocations: 0 / 1.256 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/1.16, allocations: 56 kB / 1.256 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/1.16, allocations: 35.98 kB / 1.257 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008/1.168, allocations: 2.76 MB / 1.259 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009585/1.178, allocations: 4.434 MB / 1.264 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008656/1.187, allocations: 2.732 MB / 1.266 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00331/1.19, allocations: 1.05 MB / 1.267 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007966/1.191, allocations: 0.6062 MB / 1.268 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00405/1.195, allocations: 1.356 MB / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 5.701e-06/1.195, allocations: 0 / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01176/1.207, allocations: 3.387 MB / 1.272 GB, free: 468 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/1.207, allocations: 197.2 kB / 1.273 GB, free: 224 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/1.209, allocations: 0.7668 MB / 1.273 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/1.209, allocations: 49.7 kB / 1.273 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/1.209, allocations: 484.8 kB / 1.274 GB, free: 14.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/1.21, allocations: 433.8 kB / 1.274 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/1.21, allocations: 270.7 kB / 1.275 GB, free: 14.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.211, allocations: 349.9 kB / 1.275 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/1.214, allocations: 0.9626 MB / 1.276 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003409/1.217, allocations: 1.093 MB / 1.277 GB, free: 11.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00639/1.224, allocations: 1.934 MB / 1.279 GB, free: 9.828 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.224, allocations: 0 / 1.279 GB, free: 9.828 MB / 1.014 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008122/1.232, allocations: 2.327 MB / 1.281 GB, free: 7.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/1.232, allocations: 4 kB / 1.281 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.232, allocations: 0 / 1.281 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/1.233, allocations: 84.84 kB / 1.281 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/1.235, allocations: 431.3 kB / 1.282 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.238, allocations: 1.646 MB / 1.283 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.24, allocations: 286.6 kB / 1.283 GB, free: 4.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/1.24, allocations: 63.94 kB / 1.284 GB, free: 4.844 MB / 1.014 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.0009505/1.241, allocations: 344 kB / 1.284 GB, free: 4.496 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/1.242, allocations: 106.7 kB / 1.284 GB, free: 4.391 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009007/1.251, allocations: 2.727 MB / 1.287 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.251, allocations: 16 kB / 1.287 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.251, allocations: 0 / 1.287 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/1.251, allocations: 7.969 kB / 1.287 GB, free: 1.625 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.262, allocations: 4.303 MB / 1.291 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.262, allocations: 0 / 1.291 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/1.265, allocations: 403.4 kB / 1.291 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000498/1.265, allocations: 80.72 kB / 1.291 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/1.266, allocations: 55.88 kB / 1.291 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/1.268, allocations: 1.689 MB / 1.293 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.268, allocations: 0 / 1.293 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008263/1.276, allocations: 2.482 MB / 1.295 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009586/1.277, allocations: 427.1 kB / 1.296 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/1.277, allocations: 31.98 kB / 1.296 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/1.28, allocations: 231.6 kB / 1.296 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.28, allocations: 101.2 kB / 1.296 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.28, allocations: 67.88 kB / 1.296 GB, free: 7.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009558/1.281, allocations: 0.5459 MB / 1.297 GB, free: 6.984 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.281, allocations: 4 kB / 1.297 GB, free: 6.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001526/1.283, allocations: 483.1 kB / 1.297 GB, free: 6.508 MB / 1.029 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 (147): * Single equations (assignments): 140 * 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.001695/1.284, allocations: 0.6492 MB / 1.298 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007768/1.292, allocations: 2.352 MB / 1.3 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.292, allocations: 4.125 kB / 1.3 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004152/1.296, allocations: 1.313 MB / 1.301 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.298, allocations: 329.7 kB / 1.302 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008086/1.307, allocations: 2.905 MB / 1.305 GB, free: 15.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/1.308, allocations: 1.159 MB / 1.306 GB, free: 13.91 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002051/1.31, allocations: 485 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/1.31, allocations: 167.2 kB / 1.306 GB, free: 13.27 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/1.31, allocations: 0 / 1.306 GB, free: 13.27 MB / 1.045 GB Notification: Performance of Templates: time 0.04147/1.352, allocations: 23.31 MB / 1.329 GB, free: 6.117 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches