Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_10_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_10_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.001515/0.001521, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.588/2.588, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.89 kB / 0.8692 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.8043, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008378/0.8127, allocations: 6.252 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1588/0.9715, allocations: 151.5 MB / 1.171 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.9726, allocations: 19.94 kB / 1.171 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.9732, allocations: 233.7 kB / 1.172 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.9753, allocations: 0.6912 MB / 1.172 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.9774, allocations: 0.9981 MB / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.9794, allocations: 2.052 MB / 1.175 GB, free: 112 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.9806, allocations: 0.8524 MB / 1.176 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009475/0.9815, allocations: 0.7359 MB / 1.177 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008164/0.9824, allocations: 0.7993 MB / 1.178 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.9826, allocations: 192 kB / 1.178 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.9838, allocations: 0.6402 MB / 1.178 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.9842, allocations: 478.6 kB / 1.179 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000708/0.9849, allocations: 0.8592 MB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.9874, allocations: 2.415 MB / 1.182 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9874, allocations: 4 kB / 1.182 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9874, allocations: 0 / 1.182 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.9874, allocations: 0 / 1.182 GB, free: 9.094 MB / 0.9356 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.003364/0.9908, allocations: 1.91 MB / 1.184 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.9908, allocations: 8.031 kB / 1.184 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009598/1, allocations: 1.294 MB / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/1.002, allocations: 1.028 MB / 1.186 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.161e-05/1.003, allocations: 98.67 kB / 1.186 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/1.003, allocations: 132 kB / 1.186 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/1.008, allocations: 2.213 MB / 1.189 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/1.008, allocations: 0 / 1.189 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.008, allocations: 56 kB / 1.189 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/1.008, allocations: 32 kB / 1.189 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008056/1.016, allocations: 2.964 MB / 1.192 GB, free: 15.19 MB / 0.9512 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.009102/1.026, allocations: 5.408 MB / 1.197 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008398/1.034, allocations: 2.869 MB / 1.2 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/1.037, allocations: 1.137 MB / 1.201 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/1.038, allocations: 0.6065 MB / 1.201 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003789/1.042, allocations: 1.45 MB / 1.203 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 5.279e-06/1.042, allocations: 0 / 1.203 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01185/1.054, allocations: 3.625 MB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/1.054, allocations: 205.2 kB / 1.206 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/1.055, allocations: 0.8099 MB / 1.207 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.055, allocations: 49.7 kB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/1.055, allocations: 0.5123 MB / 1.208 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/1.056, allocations: 437.6 kB / 1.208 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000491/1.056, allocations: 270.6 kB / 1.209 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.056, allocations: 357.9 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/1.06, allocations: 1.052 MB / 1.21 GB, free: 12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/1.063, allocations: 1.187 MB / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00655/1.07, allocations: 2.063 MB / 1.213 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.07, allocations: 7.938 kB / 1.213 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008159/1.078, allocations: 2.471 MB / 1.215 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.078, allocations: 4 kB / 1.215 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.078, allocations: 4 kB / 1.215 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/1.079, allocations: 84.83 kB / 1.216 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.081, allocations: 443.3 kB / 1.216 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/1.083, allocations: 1.654 MB / 1.218 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.086, allocations: 286.7 kB / 1.218 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.086, allocations: 71.92 kB / 1.218 GB, free: 3.547 MB / 0.9669 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.0008148/1.087, allocations: 357.3 kB / 1.218 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/1.087, allocations: 114.5 kB / 1.218 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009056/1.096, allocations: 2.887 MB / 1.221 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.096, allocations: 16 kB / 1.221 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.096, allocations: 4 kB / 1.221 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/1.096, allocations: 3.984 kB / 1.221 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.099, allocations: 1.819 MB / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.099, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.101, allocations: 411.3 kB / 1.223 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/1.102, allocations: 80.78 kB / 1.223 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/1.102, allocations: 47.94 kB / 1.224 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.104, allocations: 1.674 MB / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.104, allocations: 0 / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008046/1.112, allocations: 2.58 MB / 1.228 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/1.113, allocations: 471 kB / 1.228 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/1.113, allocations: 28 kB / 1.228 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.115, allocations: 231.7 kB / 1.228 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.116, allocations: 101.1 kB / 1.228 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.116, allocations: 63.94 kB / 1.229 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008372/1.117, allocations: 0.5849 MB / 1.229 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/1.117, allocations: 0 / 1.229 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001364/1.118, allocations: 0.5107 MB / 1.23 GB, free: 7.336 MB / 0.9825 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.001544/1.12, allocations: 0.6429 MB / 1.23 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009826/1.129, allocations: 3.109 MB / 1.233 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.129, allocations: 0 / 1.233 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/1.133, allocations: 1.4 MB / 1.235 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/1.135, allocations: 359.1 kB / 1.235 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/1.144, allocations: 3.034 MB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.145, allocations: 1.192 MB / 1.239 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002798/1.148, allocations: 493.5 kB / 1.24 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008697/1.149, allocations: 171.3 kB / 1.24 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of SimCode: time 2.114e-06/1.149, allocations: 0 / 1.24 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.6308/1.78, allocations: 24.33 MB / 1.263 GB, free: 225.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches