Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 105 kB / 16.41 MB, free: 5.973 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.001099/0.0011, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 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.358/2.358, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 68.08 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9185/0.9199, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007685/0.9276, allocations: 5.25 MB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2149/1.143, allocations: 151.4 MB / 1.242 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/1.144, allocations: 21.97 kB / 1.242 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/1.146, allocations: 213.6 kB / 1.242 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003236/1.149, allocations: 0.6237 MB / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/1.152, allocations: 0.9906 MB / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003177/1.155, allocations: 1.897 MB / 1.245 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/1.157, allocations: 0.8985 MB / 1.246 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/1.159, allocations: 0.7281 MB / 1.247 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/1.16, allocations: 0.7742 MB / 1.248 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004713/1.16, allocations: 192 kB / 1.248 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/1.162, allocations: 0.6635 MB / 1.248 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000556/1.163, allocations: 478.6 kB / 1.249 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009265/1.164, allocations: 0.8241 MB / 1.25 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/1.167, allocations: 2.409 MB / 1.252 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.167, allocations: 0 / 1.252 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/1.167, allocations: 3.938 kB / 1.252 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.497e-05/1.167, allocations: 0 / 1.252 GB, free: 6.312 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003395/1.17, allocations: 1.893 MB / 1.254 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.17, allocations: 8.031 kB / 1.254 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009349/1.18, allocations: 1.286 MB / 1.255 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/1.182, allocations: 1.059 MB / 1.256 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/1.182, allocations: 98.67 kB / 1.256 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/1.182, allocations: 128 kB / 1.256 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0059/1.188, allocations: 2.205 MB / 1.259 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.188, allocations: 4 kB / 1.259 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.188, allocations: 56 kB / 1.259 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/1.188, allocations: 32 kB / 1.259 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008346/1.197, allocations: 2.964 MB / 1.262 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/1.207, allocations: 5.041 MB / 1.266 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/1.215, allocations: 2.876 MB / 1.269 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/1.219, allocations: 1.131 MB / 1.27 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005893/1.22, allocations: 0.6105 MB / 1.271 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003979/1.223, allocations: 1.45 MB / 1.272 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.527e-06/1.224, allocations: 0 / 1.272 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01175/1.235, allocations: 3.617 MB / 1.276 GB, free: 13.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.235, allocations: 197.2 kB / 1.276 GB, free: 13.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.237, allocations: 0.8099 MB / 1.277 GB, free: 12.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.237, allocations: 53.7 kB / 1.277 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/1.237, allocations: 0.5123 MB / 1.277 GB, free: 11.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/1.238, allocations: 429.7 kB / 1.278 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/1.238, allocations: 278.6 kB / 1.278 GB, free: 11.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.238, allocations: 353.9 kB / 1.278 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/1.242, allocations: 1.049 MB / 1.279 GB, free: 9.684 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003367/1.245, allocations: 1.187 MB / 1.281 GB, free: 8.477 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006429/1.251, allocations: 2.059 MB / 1.283 GB, free: 6.398 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/1.251, allocations: 3.938 kB / 1.283 GB, free: 6.395 MB / 1.014 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007878/1.259, allocations: 2.479 MB / 1.285 GB, free: 3.902 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.259, allocations: 4 kB / 1.285 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.259, allocations: 3.984 kB / 1.285 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/1.26, allocations: 84.84 kB / 1.285 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/1.263, allocations: 427.3 kB / 1.286 GB, free: 3.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/1.265, allocations: 1.654 MB / 1.287 GB, free: 1.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/1.267, allocations: 278.7 kB / 1.287 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/1.267, allocations: 75.86 kB / 1.288 GB, free: 1.242 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,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 (151): * Single equations (assignments): 150 * 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.0007897/1.268, allocations: 352.9 kB / 1.288 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/1.268, allocations: 118.5 kB / 1.288 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008523/1.277, allocations: 2.876 MB / 1.291 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.277, allocations: 12 kB / 1.291 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.277, allocations: 0 / 1.291 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.277, allocations: 11.97 kB / 1.291 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/1.279, allocations: 1.804 MB / 1.293 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.279, allocations: 3.984 kB / 1.293 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.282, allocations: 415.3 kB / 1.293 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/1.282, allocations: 76.78 kB / 1.293 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/1.282, allocations: 51.94 kB / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.284, allocations: 1.681 MB / 1.295 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.284, allocations: 0 / 1.295 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007916/1.292, allocations: 2.58 MB / 1.297 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/1.293, allocations: 463.1 kB / 1.298 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/1.293, allocations: 35.94 kB / 1.298 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.296, allocations: 223.7 kB / 1.298 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/1.296, allocations: 101.2 kB / 1.298 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.296, allocations: 67.92 kB / 1.298 GB, free: 6.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008111/1.297, allocations: 0.5849 MB / 1.299 GB, free: 5.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/1.297, allocations: 0 / 1.299 GB, free: 5.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001409/1.298, allocations: 498.9 kB / 1.299 GB, free: 5.066 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,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.0017/1.3, allocations: 0.6457 MB / 1.3 GB, free: 4.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007725/1.308, allocations: 2.531 MB / 1.302 GB, free: 2.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.308, allocations: 4.125 kB / 1.302 GB, free: 2.051 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.312, allocations: 1.399 MB / 1.304 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.313, allocations: 334.2 kB / 1.304 GB, free: 340 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/1.321, allocations: 3.169 MB / 1.307 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/1.322, allocations: 1.195 MB / 1.308 GB, free: 11.9 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.323, allocations: 203.2 kB / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of SimCode: time 8.81e-07/1.323, allocations: 0 / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of Templates: time 0.03968/1.362, allocations: 30.57 MB / 1.338 GB, free: 13.2 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches