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.005743/0.005743, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001327/0.001327, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.232/2.232, allocations: 390.2 MB / 0.6648 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.9509 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9132/0.9144, allocations: 140.4 MB / 1.088 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007423/0.9219, allocations: 5.103 MB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2146/1.137, allocations: 151.2 MB / 1.241 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/1.138, allocations: 17.06 kB / 1.241 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007331/1.139, allocations: 189.7 kB / 1.241 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/1.141, allocations: 0.6102 MB / 1.241 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002812/1.144, allocations: 0.9694 MB / 1.242 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002641/1.147, allocations: 1.79 MB / 1.244 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/1.148, allocations: 0.8085 MB / 1.245 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/1.149, allocations: 0.6667 MB / 1.246 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007997/1.15, allocations: 0.712 MB / 1.246 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002061/1.15, allocations: 164 kB / 1.246 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/1.152, allocations: 0.6401 MB / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004197/1.152, allocations: 442.7 kB / 1.247 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006747/1.153, allocations: 0.754 MB / 1.248 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002755/1.156, allocations: 2.175 MB / 1.25 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.156, allocations: 4 kB / 1.25 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/1.156, allocations: 0 / 1.25 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.85e-05/1.156, allocations: 0 / 1.25 GB, free: 7.398 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.003567/1.159, allocations: 1.845 MB / 1.252 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.159, allocations: 8.031 kB / 1.252 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00929/1.169, allocations: 1.287 MB / 1.253 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/1.171, allocations: 0.9854 MB / 1.254 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/1.171, allocations: 86.45 kB / 1.254 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/1.171, allocations: 120 kB / 1.255 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005388/1.177, allocations: 2.034 MB / 1.257 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/1.177, allocations: 0 / 1.257 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.177, allocations: 59.92 kB / 1.257 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/1.177, allocations: 35.94 kB / 1.257 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007669/1.185, allocations: 2.764 MB / 1.259 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009325/1.194, allocations: 4.435 MB / 1.264 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008004/1.202, allocations: 2.732 MB / 1.266 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/1.205, allocations: 1.042 MB / 1.267 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/1.206, allocations: 0.6023 MB / 1.268 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003634/1.209, allocations: 1.364 MB / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.266e-06/1.209, allocations: 0 / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01107/1.22, allocations: 3.395 MB / 1.273 GB, free: 144 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.221, allocations: 193.2 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.222, allocations: 0.7668 MB / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/1.222, allocations: 49.7 kB / 1.274 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/1.222, allocations: 497.7 kB / 1.274 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/1.223, allocations: 456.1 kB / 1.274 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004767/1.223, allocations: 266.8 kB / 1.275 GB, free: 13.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.223, allocations: 353.9 kB / 1.275 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003025/1.226, allocations: 0.9664 MB / 1.276 GB, free: 12.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/1.23, allocations: 1.093 MB / 1.277 GB, free: 11.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006026/1.236, allocations: 1.927 MB / 1.279 GB, free: 9.488 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.236, allocations: 0 / 1.279 GB, free: 9.488 MB / 1.014 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007686/1.243, allocations: 2.331 MB / 1.281 GB, free: 7.145 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.243, allocations: 4 kB / 1.281 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.243, allocations: 0 / 1.281 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/1.244, allocations: 88.83 kB / 1.281 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/1.246, allocations: 435.3 kB / 1.282 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/1.249, allocations: 1.634 MB / 1.283 GB, free: 4.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.251, allocations: 298.8 kB / 1.284 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.251, allocations: 67.92 kB / 1.284 GB, free: 4.488 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.0008447/1.252, allocations: 337 kB / 1.284 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/1.252, allocations: 115.2 kB / 1.284 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00805/1.261, allocations: 2.723 MB / 1.287 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.261, allocations: 19.94 kB / 1.287 GB, free: 1.277 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.261, allocations: 0 / 1.287 GB, free: 1.277 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/1.261, allocations: 7.969 kB / 1.287 GB, free: 1.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.271, allocations: 4.31 MB / 1.291 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.271, allocations: 3.938 kB / 1.291 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/1.273, allocations: 403.4 kB / 1.291 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/1.274, allocations: 80.72 kB / 1.291 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.274, allocations: 51.94 kB / 1.291 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/1.276, allocations: 1.678 MB / 1.293 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.276, allocations: 0 / 1.293 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007715/1.284, allocations: 2.498 MB / 1.296 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.285, allocations: 427.8 kB / 1.296 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/1.285, allocations: 35.95 kB / 1.296 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.287, allocations: 230.3 kB / 1.296 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/1.287, allocations: 97.17 kB / 1.296 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/1.288, allocations: 67.88 kB / 1.296 GB, free: 7.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001207/1.289, allocations: 0.5576 MB / 1.297 GB, free: 6.609 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.289, allocations: 0 / 1.297 GB, free: 6.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0018/1.291, allocations: 487 kB / 1.297 GB, free: 6.133 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.001858/1.293, allocations: 0.6549 MB / 1.298 GB, free: 5.648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007498/1.3, allocations: 2.352 MB / 1.3 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.3, allocations: 8.062 kB / 1.3 GB, free: 3.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00384/1.304, allocations: 1.306 MB / 1.302 GB, free: 1.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.306, allocations: 318.7 kB / 1.302 GB, free: 1.668 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/1.315, allocations: 2.962 MB / 1.305 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009478/1.316, allocations: 1.159 MB / 1.306 GB, free: 13.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001879/1.318, allocations: 481 kB / 1.306 GB, free: 13.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007176/1.318, allocations: 163.3 kB / 1.307 GB, free: 12.85 MB / 1.045 GB Notification: Performance of SimCode: time 1.102e-06/1.318, allocations: 0 / 1.307 GB, free: 12.85 MB / 1.045 GB Notification: Performance of Templates: time 0.03881/1.357, allocations: 22.83 MB / 1.329 GB, free: 6.172 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