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.001398/0.001398, allocations: 105.3 kB / 16.41 MB, free: 6.508 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.001544/0.001544, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.367/1.367, allocations: 222.9 MB / 241 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.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.83 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9014/0.9029, allocations: 140.4 MB / 1.089 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006228/0.9092, allocations: 5.271 MB / 1.094 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2138/1.123, allocations: 151.4 MB / 1.242 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/1.125, allocations: 25.62 kB / 1.242 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009397/1.126, allocations: 201.3 kB / 1.242 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002623/1.128, allocations: 0.6233 MB / 1.242 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/1.131, allocations: 0.9909 MB / 1.243 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002593/1.134, allocations: 1.894 MB / 1.245 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/1.135, allocations: 0.9129 MB / 1.246 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/1.136, allocations: 0.7164 MB / 1.247 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/1.137, allocations: 0.7664 MB / 1.248 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003866/1.138, allocations: 192 kB / 1.248 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/1.139, allocations: 0.6752 MB / 1.248 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004088/1.14, allocations: 478.6 kB / 1.249 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009049/1.14, allocations: 0.824 MB / 1.25 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/1.143, allocations: 2.414 MB / 1.252 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.143, allocations: 0 / 1.252 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/1.143, allocations: 0 / 1.252 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.153e-05/1.143, allocations: 0 / 1.252 GB, free: 6.473 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.003334/1.147, allocations: 1.886 MB / 1.254 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.147, allocations: 12.03 kB / 1.254 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008683/1.155, allocations: 1.282 MB / 1.255 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.157, allocations: 1.055 MB / 1.256 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.679e-05/1.157, allocations: 102.7 kB / 1.256 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.157, allocations: 128 kB / 1.256 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/1.163, allocations: 2.213 MB / 1.259 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.163, allocations: 0 / 1.259 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/1.163, allocations: 52 kB / 1.259 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/1.163, allocations: 32 kB / 1.259 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008035/1.171, allocations: 2.968 MB / 1.262 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008903/1.18, allocations: 5.031 MB / 1.266 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008148/1.188, allocations: 2.88 MB / 1.269 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/1.191, allocations: 1.121 MB / 1.27 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/1.192, allocations: 0.6144 MB / 1.271 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003725/1.196, allocations: 1.442 MB / 1.272 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 2.876e-06/1.196, allocations: 4 kB / 1.272 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01135/1.207, allocations: 3.613 MB / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.207, allocations: 201.2 kB / 1.276 GB, free: 13.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.208, allocations: 0.8176 MB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/1.209, allocations: 53.7 kB / 1.277 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/1.209, allocations: 0.5123 MB / 1.277 GB, free: 11.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/1.209, allocations: 437.7 kB / 1.278 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004898/1.21, allocations: 270.6 kB / 1.278 GB, free: 11.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.21, allocations: 353.9 kB / 1.278 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/1.213, allocations: 1.052 MB / 1.279 GB, free: 9.848 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/1.217, allocations: 1.179 MB / 1.281 GB, free: 8.648 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006316/1.223, allocations: 2.067 MB / 1.283 GB, free: 6.562 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.223, allocations: 4 kB / 1.283 GB, free: 6.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007785/1.231, allocations: 2.479 MB / 1.285 GB, free: 4.066 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.231, allocations: 4 kB / 1.285 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.231, allocations: 4 kB / 1.285 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/1.231, allocations: 88.73 kB / 1.285 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/1.234, allocations: 431.3 kB / 1.286 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/1.236, allocations: 1.646 MB / 1.287 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.238, allocations: 285.4 kB / 1.287 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.238, allocations: 63.92 kB / 1.288 GB, free: 1.414 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.0006974/1.239, allocations: 363.7 kB / 1.288 GB, free: 1.047 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/1.239, allocations: 118.5 kB / 1.288 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008451/1.248, allocations: 2.876 MB / 1.291 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/1.248, allocations: 15.98 kB / 1.291 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.248, allocations: 4 kB / 1.291 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.248, allocations: 3.984 kB / 1.291 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/1.25, allocations: 1.808 MB / 1.293 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.25, allocations: 4 kB / 1.293 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/1.252, allocations: 411.4 kB / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/1.253, allocations: 76.72 kB / 1.293 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/1.253, allocations: 51.94 kB / 1.293 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.255, allocations: 1.674 MB / 1.295 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.255, allocations: 4.031 kB / 1.295 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007803/1.263, allocations: 2.58 MB / 1.297 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007762/1.264, allocations: 467.1 kB / 1.298 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.264, allocations: 32 kB / 1.298 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.266, allocations: 235.7 kB / 1.298 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.266, allocations: 97.17 kB / 1.298 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.266, allocations: 63.94 kB / 1.298 GB, free: 6.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007775/1.267, allocations: 0.5849 MB / 1.299 GB, free: 5.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.91e-07/1.267, allocations: 0 / 1.299 GB, free: 5.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001263/1.268, allocations: 0.4911 MB / 1.299 GB, free: 5.223 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.001503/1.27, allocations: 0.6375 MB / 1.3 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007458/1.277, allocations: 2.527 MB / 1.302 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.277, allocations: 0 / 1.302 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003854/1.281, allocations: 1.411 MB / 1.304 GB, free: 0.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.283, allocations: 338 kB / 1.304 GB, free: 496 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007614/1.29, allocations: 3.165 MB / 1.307 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/1.291, allocations: 1.187 MB / 1.308 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.292, allocations: 203.2 kB / 1.308 GB, free: 11.87 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/1.292, allocations: 0 / 1.308 GB, free: 11.87 MB / 1.045 GB Notification: Performance of Templates: time 0.04286/1.335, allocations: 30.57 MB / 1.338 GB, free: 13.36 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