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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001526/0.001526, allocations: 115.6 kB / 16.37 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.0018/0.0018, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.366/1.366, 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 10.1.0-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 64.52 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2852, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007108/0.2924, allocations: 5.855 MB / 1.025 GB, free: 3.977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6649/0.9573, allocations: 151.3 MB / 1.172 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.9587, allocations: 18.03 kB / 1.172 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.9595, allocations: 222.8 kB / 1.172 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.9619, allocations: 0.6501 MB / 1.173 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.965, allocations: 0.9812 MB / 1.174 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002565/0.9676, allocations: 1.898 MB / 1.176 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.9688, allocations: 0.7745 MB / 1.177 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.9703, allocations: 0.6671 MB / 1.177 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009473/0.9713, allocations: 0.7479 MB / 1.178 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.9715, allocations: 162.4 kB / 1.178 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.9728, allocations: 0.6323 MB / 1.179 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.9732, allocations: 448.2 kB / 1.179 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006991/0.9739, allocations: 0.7706 MB / 1.18 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.9763, allocations: 2.203 MB / 1.182 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9764, allocations: 0 / 1.182 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9764, allocations: 1.031 kB / 1.182 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.9764, allocations: 0 / 1.182 GB, free: 9.047 MB / 0.8887 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.003531/0.9799, allocations: 1.821 MB / 1.184 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.98, allocations: 10.81 kB / 1.184 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008616/0.9886, allocations: 1.28 MB / 1.185 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.9908, allocations: 0.9699 MB / 1.186 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.141e-05/0.9909, allocations: 92.58 kB / 1.186 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.9911, allocations: 115.1 kB / 1.186 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.9962, allocations: 2.041 MB / 1.188 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.9963, allocations: 5.188 kB / 1.188 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.9964, allocations: 48.28 kB / 1.188 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.9965, allocations: 30.09 kB / 1.188 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007092/1.004, allocations: 2.759 MB / 1.191 GB, free: 3.555 MB / 0.8887 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.008961/1.013, allocations: 4.712 MB / 1.196 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007122/1.02, allocations: 2.744 MB / 1.198 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/1.023, allocations: 1.036 MB / 1.199 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/1.023, allocations: 0.6128 MB / 1.2 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003408/1.027, allocations: 1.353 MB / 1.201 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=132): time 3.767e-06/1.027, allocations: 2.25 kB / 1.201 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=132): time 0.01008/1.037, allocations: 3.374 MB / 1.205 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.037, allocations: 205.2 kB / 1.205 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/1.038, allocations: 0.7745 MB / 1.206 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/1.038, allocations: 49.7 kB / 1.206 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/1.039, allocations: 484.8 kB / 1.206 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/1.039, allocations: 433.8 kB / 1.207 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005099/1.04, allocations: 266.7 kB / 1.207 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.04, allocations: 349.9 kB / 1.207 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/1.043, allocations: 0.9704 MB / 1.208 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/1.046, allocations: 1.09 MB / 1.209 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005508/1.051, allocations: 1.931 MB / 1.211 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.051, allocations: 0 / 1.211 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006836/1.058, allocations: 2.319 MB / 1.213 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.058, allocations: 16 kB / 1.213 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.058, allocations: 0 / 1.213 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/1.059, allocations: 84.78 kB / 1.213 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.061, allocations: 431.3 kB / 1.214 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.063, allocations: 1.644 MB / 1.215 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.065, allocations: 282.7 kB / 1.216 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.066, allocations: 67.88 kB / 1.216 GB, free: 14.44 MB / 0.92 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.0006959/1.066, allocations: 340.6 kB / 1.216 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/1.067, allocations: 110.6 kB / 1.216 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/1.074, allocations: 2.724 MB / 1.219 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.074, allocations: 12 kB / 1.219 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.074, allocations: 0 / 1.219 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/1.074, allocations: 15.44 kB / 1.219 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009838/1.084, allocations: 4.3 MB / 1.223 GB, free: 6.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.084, allocations: 0 / 1.223 GB, free: 6.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/1.086, allocations: 407.4 kB / 1.223 GB, free: 6.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/1.087, allocations: 80.72 kB / 1.224 GB, free: 6.383 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/1.087, allocations: 51.94 kB / 1.224 GB, free: 6.332 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/1.089, allocations: 1.677 MB / 1.225 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.089, allocations: 0 / 1.225 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/1.096, allocations: 2.489 MB / 1.228 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.097, allocations: 423.1 kB / 1.228 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/1.098, allocations: 31.98 kB / 1.228 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.1, allocations: 224.7 kB / 1.228 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/1.1, allocations: 105.3 kB / 1.228 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.1, allocations: 67.94 kB / 1.228 GB, free: 1.141 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007753/1.101, allocations: 0.5459 MB / 1.229 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.101, allocations: 3.938 kB / 1.229 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001386/1.102, allocations: 0.499 MB / 1.229 GB, free: 96 kB / 0.92 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.001476/1.104, allocations: 0.6482 MB / 1.23 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006629/1.11, allocations: 2.352 MB / 1.232 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.11, allocations: 0 / 1.232 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.114, allocations: 1.314 MB / 1.234 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.116, allocations: 347.2 kB / 1.234 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/1.122, allocations: 2.806 MB / 1.237 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/1.123, allocations: 1.167 MB / 1.238 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001825/1.125, allocations: 481.2 kB / 1.238 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/1.125, allocations: 167.3 kB / 1.239 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/1.125, allocations: 0 / 1.239 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.03572/1.161, allocations: 23.13 MB / 1.261 GB, free: 0 / 0.9512 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 -s cvode -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/jenkins1/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