Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008484/0.008484, allocations: 98.02 kB / 15.73 MB, free: 6.004 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.002053/0.002053, allocations: 199.1 kB / 16.68 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.7105 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007352/0.3222, allocations: 5.838 MB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8237/1.146, allocations: 151.3 MB / 1.32 GB, free: 9.293 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/1.147, allocations: 21.81 kB / 1.32 GB, free: 9.285 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008864/1.148, allocations: 224.8 kB / 1.32 GB, free: 9.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/1.151, allocations: 0.656 MB / 1.321 GB, free: 8.863 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/1.154, allocations: 0.9783 MB / 1.322 GB, free: 8.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003731/1.158, allocations: 1.9 MB / 1.324 GB, free: 8.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/1.159, allocations: 0.7723 MB / 1.325 GB, free: 8.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/1.161, allocations: 0.6794 MB / 1.325 GB, free: 7.875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/1.162, allocations: 0.7369 MB / 1.326 GB, free: 7.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006845/1.163, allocations: 170.5 kB / 1.326 GB, free: 7.496 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/1.165, allocations: 0.6347 MB / 1.327 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/1.165, allocations: 440.7 kB / 1.327 GB, free: 7.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008293/1.166, allocations: 0.7677 MB / 1.328 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/1.169, allocations: 2.217 MB / 1.33 GB, free: 5.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.169, allocations: 0 / 1.33 GB, free: 5.668 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/1.169, allocations: 1.219 kB / 1.33 GB, free: 5.668 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.797e-05/1.169, allocations: 2.625 kB / 1.33 GB, free: 5.668 MB / 1.014 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.003911/1.173, allocations: 1.863 MB / 1.332 GB, free: 4.434 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.173, allocations: 8.906 kB / 1.332 GB, free: 4.434 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009321/1.182, allocations: 1.282 MB / 1.333 GB, free: 4.289 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/1.185, allocations: 0.9829 MB / 1.334 GB, free: 3.688 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/1.185, allocations: 92.88 kB / 1.334 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/1.185, allocations: 121.1 kB / 1.334 GB, free: 3.605 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/1.19, allocations: 2.043 MB / 1.336 GB, free: 2.891 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/1.19, allocations: 1.094 kB / 1.336 GB, free: 2.891 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/1.19, allocations: 53.61 kB / 1.336 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/1.19, allocations: 29.38 kB / 1.336 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007349/1.198, allocations: 2.762 MB / 1.339 GB, free: 2.223 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009516/1.207, allocations: 4.72 MB / 1.344 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008145/1.215, allocations: 2.734 MB / 1.346 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/1.218, allocations: 1.034 MB / 1.347 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/1.219, allocations: 0.6159 MB / 1.348 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003578/1.223, allocations: 1.359 MB / 1.349 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=132): time 3.656e-06/1.223, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=132): time 0.01114/1.234, allocations: 3.382 MB / 1.353 GB, free: 10.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.234, allocations: 206.9 kB / 1.353 GB, free: 10.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.235, allocations: 0.7724 MB / 1.354 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002066/1.236, allocations: 48.58 kB / 1.354 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/1.236, allocations: 492.8 kB / 1.354 GB, free: 9.645 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/1.236, allocations: 453.8 kB / 1.354 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000529/1.237, allocations: 265.5 kB / 1.355 GB, free: 9.098 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.237, allocations: 353.7 kB / 1.355 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/1.24, allocations: 0.9669 MB / 1.356 GB, free: 8.266 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/1.243, allocations: 1.095 MB / 1.357 GB, free: 7.672 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005707/1.249, allocations: 1.927 MB / 1.359 GB, free: 6.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.249, allocations: 3.938 kB / 1.359 GB, free: 6.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007194/1.256, allocations: 2.326 MB / 1.361 GB, free: 5.488 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/1.256, allocations: 9.094 kB / 1.361 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.256, allocations: 2.531 kB / 1.361 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/1.257, allocations: 85.77 kB / 1.361 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/1.259, allocations: 429.2 kB / 1.362 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.261, allocations: 1.656 MB / 1.363 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.264, allocations: 282.8 kB / 1.364 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/1.264, allocations: 72.77 kB / 1.364 GB, free: 3.469 MB / 1.029 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.0008032/1.265, allocations: 332.1 kB / 1.364 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/1.265, allocations: 119.1 kB / 1.364 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007907/1.273, allocations: 2.722 MB / 1.367 GB, free: 1.676 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.273, allocations: 15.12 kB / 1.367 GB, free: 1.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.273, allocations: 0 / 1.367 GB, free: 1.676 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.855e-05/1.273, allocations: 13.84 kB / 1.367 GB, free: 1.664 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009737/1.283, allocations: 4.312 MB / 1.371 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.283, allocations: 0 / 1.371 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.285, allocations: 407.7 kB / 1.371 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/1.286, allocations: 74.47 kB / 1.371 GB, free: 14.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/1.286, allocations: 51.28 kB / 1.372 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/1.288, allocations: 1.688 MB / 1.373 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.288, allocations: 0 / 1.373 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007273/1.295, allocations: 2.494 MB / 1.376 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/1.296, allocations: 425.2 kB / 1.376 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/1.297, allocations: 31.73 kB / 1.376 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.298, allocations: 231.1 kB / 1.376 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.299, allocations: 103.4 kB / 1.376 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.299, allocations: 63.22 kB / 1.376 GB, free: 11.29 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008142/1.3, allocations: 0.5509 MB / 1.377 GB, free: 10.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.1e-07/1.3, allocations: 0 / 1.377 GB, free: 10.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001593/1.301, allocations: 0.4944 MB / 1.377 GB, free: 10.85 MB / 1.045 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.001627/1.303, allocations: 0.6543 MB / 1.378 GB, free: 10.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006396/1.309, allocations: 2.355 MB / 1.38 GB, free: 8.828 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.309, allocations: 0 / 1.38 GB, free: 8.828 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/1.313, allocations: 1.31 MB / 1.382 GB, free: 7.508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.314, allocations: 348 kB / 1.382 GB, free: 7.191 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/1.32, allocations: 2.836 MB / 1.385 GB, free: 4.324 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/1.321, allocations: 1.159 MB / 1.386 GB, free: 3.137 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00149/1.322, allocations: 485.2 kB / 1.386 GB, free: 2.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/1.323, allocations: 167.3 kB / 1.387 GB, free: 2.496 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/1.323, allocations: 3.938 kB / 1.387 GB, free: 2.492 MB / 1.045 GB Notification: Performance of Templates: time 0.0351/1.358, allocations: 23.39 MB / 1.409 GB, free: 11.27 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches