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.0009091/0.0009091, allocations: 92.62 kB / 16.02 MB, free: 80 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.001031/0.001031, allocations: 175.1 kB / 16.92 MB, free: 6.652 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.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.58/2.58, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.6262, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006795/0.6331, allocations: 5.392 MB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.7933, allocations: 147 MB / 1.173 GB, free: 6.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.7943, allocations: 15.94 kB / 1.173 GB, free: 6.883 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.7951, allocations: 174.6 kB / 1.173 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.7973, allocations: 0.5708 MB / 1.173 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.7995, allocations: 0.851 MB / 1.174 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.8017, allocations: 1.87 MB / 1.176 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.8029, allocations: 0.7394 MB / 1.177 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.8038, allocations: 497.9 kB / 1.177 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008737/0.8047, allocations: 0.5844 MB / 1.178 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.8049, allocations: 40 kB / 1.178 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.806, allocations: 0.4917 MB / 1.178 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.8064, allocations: 294.7 kB / 1.178 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006999/0.8071, allocations: 0.6347 MB / 1.179 GB, free: 104 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.8088, allocations: 1.597 MB / 1.181 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8088, allocations: 4 kB / 1.181 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8088, allocations: 0 / 1.181 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.962e-05/0.8089, allocations: 0 / 1.181 GB, free: 14.5 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003175/0.8121, allocations: 1.523 MB / 1.182 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.8121, allocations: 8.031 kB / 1.182 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.8222, allocations: 1.564 MB / 1.184 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.8241, allocations: 0.9574 MB / 1.185 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.8243, allocations: 90.45 kB / 1.185 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/0.8246, allocations: 120 kB / 1.185 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/0.8303, allocations: 2.166 MB / 1.187 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.8303, allocations: 0 / 1.187 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.8305, allocations: 55.98 kB / 1.187 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.8305, allocations: 28 kB / 1.187 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008191/0.8387, allocations: 2.999 MB / 1.19 GB, free: 4.809 MB / 0.9356 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.009226/0.848, allocations: 4.831 MB / 1.195 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008579/0.8566, allocations: 3.02 MB / 1.198 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/0.86, allocations: 1.151 MB / 1.199 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.8606, allocations: 0.6101 MB / 1.199 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003911/0.8645, allocations: 1.48 MB / 1.201 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.8645, allocations: 0 / 1.201 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01177/0.8763, allocations: 3.727 MB / 1.204 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.8765, allocations: 201.2 kB / 1.205 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.8776, allocations: 0.7744 MB / 1.205 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.8778, allocations: 49.7 kB / 1.205 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.8782, allocations: 484.8 kB / 1.206 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.8787, allocations: 429.8 kB / 1.206 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.8789, allocations: 101.7 kB / 1.206 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.879, allocations: 349.9 kB / 1.207 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/0.8823, allocations: 1.084 MB / 1.208 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/0.8859, allocations: 1.214 MB / 1.209 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006558/0.8925, allocations: 2.153 MB / 1.211 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.8925, allocations: 4 kB / 1.211 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007834/0.9003, allocations: 2.553 MB / 1.214 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.9004, allocations: 4 kB / 1.214 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.9004, allocations: 4 kB / 1.214 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.901, allocations: 80.84 kB / 1.214 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.9036, allocations: 491.3 kB / 1.214 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.9057, allocations: 1.546 MB / 1.216 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.9083, allocations: 351.2 kB / 1.216 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.9085, allocations: 67.94 kB / 1.216 GB, free: 9.484 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,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.000797/0.9093, allocations: 335.8 kB / 1.216 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.9096, allocations: 110.7 kB / 1.216 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008793/0.9184, allocations: 2.953 MB / 1.219 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.9185, allocations: 23.88 kB / 1.219 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.9185, allocations: 0 / 1.219 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.9185, allocations: 11.97 kB / 1.219 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.9295, allocations: 4.544 MB / 1.224 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.9296, allocations: 0 / 1.224 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/0.932, allocations: 471.3 kB / 1.224 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000533/0.9326, allocations: 84.78 kB / 1.224 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.9327, allocations: 47.94 kB / 1.224 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.9347, allocations: 1.556 MB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.9347, allocations: 8 kB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008136/0.9428, allocations: 2.718 MB / 1.229 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/0.9438, allocations: 443 kB / 1.229 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.944, allocations: 31.98 kB / 1.229 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/0.9463, allocations: 308.4 kB / 1.229 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.9465, allocations: 101.2 kB / 1.229 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.9467, allocations: 68 kB / 1.229 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007754/0.9475, allocations: 0.5537 MB / 1.23 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9475, allocations: 0 / 1.23 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001384/0.9489, allocations: 495.1 kB / 1.23 GB, free: 10.41 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,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.001547/0.9504, allocations: 0.6492 MB / 1.231 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007746/0.9582, allocations: 2.582 MB / 1.234 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9582, allocations: 0 / 1.234 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003979/0.9622, allocations: 1.423 MB / 1.235 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.9645, allocations: 309.3 kB / 1.235 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.9716, allocations: 3.58 MB / 1.239 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/0.9723, allocations: 1.156 MB / 1.24 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009881/0.9733, allocations: 199.2 kB / 1.24 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/0.9733, allocations: 0 / 1.24 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of Templates: time 0.5629/1.536, allocations: 28.34 MB / 1.268 GB, free: 227 MB / 0.9981 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/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