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.001523/0.001523, allocations: 102.2 kB / 15.98 MB, free: 6.355 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.001842/0.001842, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.457/2.457, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 68.16 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2887, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007667/0.2964, allocations: 6.251 MB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7783/1.075, allocations: 149.3 MB / 1.169 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/1.076, allocations: 20.91 kB / 1.169 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/1.077, allocations: 180.2 kB / 1.17 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00283/1.08, allocations: 0.6208 MB / 1.17 GB, free: 340 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/1.083, allocations: 0.8936 MB / 1.171 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003021/1.086, allocations: 2.049 MB / 1.173 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/1.088, allocations: 0.8575 MB / 1.174 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/1.089, allocations: 0.736 MB / 1.175 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/1.091, allocations: 0.8072 MB / 1.175 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006658/1.092, allocations: 191.7 kB / 1.176 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/1.094, allocations: 0.6375 MB / 1.176 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008635/1.095, allocations: 480.3 kB / 1.177 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/1.097, allocations: 0.8535 MB / 1.177 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00348/1.1, allocations: 1.876 MB / 1.179 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.101, allocations: 0 / 1.179 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.964e-06/1.101, allocations: 0 / 1.179 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001194/1.101, allocations: 0 / 1.179 GB, free: 11.42 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.006093/1.107, allocations: 1.917 MB / 1.181 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.107, allocations: 10.53 kB / 1.181 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009675/1.116, allocations: 1.292 MB / 1.182 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/1.119, allocations: 1.031 MB / 1.183 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/1.119, allocations: 96.42 kB / 1.184 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005096/1.12, allocations: 131.2 kB / 1.184 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/1.126, allocations: 2.205 MB / 1.186 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.126, allocations: 1.344 kB / 1.186 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/1.126, allocations: 55.94 kB / 1.186 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/1.126, allocations: 33.81 kB / 1.186 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007925/1.134, allocations: 2.968 MB / 1.189 GB, free: 5.543 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.01171/1.146, allocations: 5.403 MB / 1.194 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008599/1.154, allocations: 2.878 MB / 1.197 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003478/1.158, allocations: 1.129 MB / 1.198 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006903/1.159, allocations: 0.6134 MB / 1.199 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004221/1.163, allocations: 1.446 MB / 1.2 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=133): time 6.442e-06/1.163, allocations: 0 / 1.2 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133): time 0.0124/1.175, allocations: 3.629 MB / 1.204 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.175, allocations: 193.2 kB / 1.204 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.177, allocations: 0.8215 MB / 1.205 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/1.177, allocations: 45.7 kB / 1.205 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/1.178, allocations: 0.5123 MB / 1.205 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/1.178, allocations: 437.7 kB / 1.206 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/1.179, allocations: 274.6 kB / 1.206 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.179, allocations: 349.9 kB / 1.206 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/1.183, allocations: 1.052 MB / 1.207 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/1.186, allocations: 1.188 MB / 1.208 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006416/1.193, allocations: 2.067 MB / 1.21 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/1.193, allocations: 4 kB / 1.21 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008073/1.201, allocations: 2.475 MB / 1.213 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.201, allocations: 8 kB / 1.213 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.201, allocations: 0 / 1.213 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007119/1.201, allocations: 88.83 kB / 1.213 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/1.204, allocations: 431.3 kB / 1.213 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/1.207, allocations: 1.663 MB / 1.215 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.21, allocations: 288.3 kB / 1.215 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.21, allocations: 67.92 kB / 1.215 GB, free: 14.73 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,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.001125/1.211, allocations: 355.7 kB / 1.216 GB, free: 14.37 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/1.212, allocations: 118.7 kB / 1.216 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009144/1.221, allocations: 2.876 MB / 1.218 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.221, allocations: 20 kB / 1.218 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.221, allocations: 0 / 1.218 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/1.221, allocations: 11.72 kB / 1.218 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/1.224, allocations: 1.815 MB / 1.22 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.224, allocations: 0 / 1.22 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.227, allocations: 407.4 kB / 1.221 GB, free: 9.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000494/1.227, allocations: 80.77 kB / 1.221 GB, free: 8.988 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/1.227, allocations: 47.94 kB / 1.221 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/1.23, allocations: 1.681 MB / 1.222 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.23, allocations: 0 / 1.222 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00767/1.237, allocations: 2.58 MB / 1.225 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009578/1.238, allocations: 463.1 kB / 1.225 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004068/1.239, allocations: 31.94 kB / 1.225 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.241, allocations: 236.2 kB / 1.226 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.241, allocations: 109.1 kB / 1.226 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.241, allocations: 59.94 kB / 1.226 GB, free: 3.609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000928/1.242, allocations: 0.581 MB / 1.226 GB, free: 3.031 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/1.242, allocations: 0 / 1.226 GB, free: 3.031 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001654/1.244, allocations: 0.5107 MB / 1.227 GB, free: 2.52 MB / 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,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.001748/1.246, allocations: 0.6495 MB / 1.227 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009284/1.255, allocations: 3.105 MB / 1.231 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.255, allocations: 0 / 1.231 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003905/1.259, allocations: 1.396 MB / 1.232 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.261, allocations: 351.8 kB / 1.232 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/1.268, allocations: 3.713 MB / 1.236 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009589/1.269, allocations: 1.187 MB / 1.237 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009715/1.27, allocations: 203.2 kB / 1.237 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/1.27, allocations: 0 / 1.237 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of Templates: time 0.04156/1.312, allocations: 30.71 MB / 1.267 GB, free: 9.41 MB / 0.9669 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches