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.001786/0.001786, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002134/0.002134, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.903/2.903, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.91 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.6912, allocations: 151.6 MB / 1.017 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009212/0.7004, allocations: 6.251 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1885/0.8889, allocations: 149.2 MB / 1.168 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.8911, allocations: 23.88 kB / 1.168 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.892, allocations: 178.6 kB / 1.169 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.8944, allocations: 0.5946 MB / 1.169 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.8971, allocations: 0.8716 MB / 1.17 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.9, allocations: 1.994 MB / 1.172 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.9015, allocations: 0.8305 MB / 1.173 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.903, allocations: 0.6304 MB / 1.173 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.9041, allocations: 0.739 MB / 1.174 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.9043, allocations: 92 kB / 1.174 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.9057, allocations: 0.5464 MB / 1.175 GB, free: 260 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.9062, allocations: 382.6 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.9072, allocations: 0.7655 MB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.9109, allocations: 2.337 MB / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9109, allocations: 0 / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9109, allocations: 0 / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.9109, allocations: 7.938 kB / 1.178 GB, free: 12.76 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.004543/0.9155, allocations: 1.902 MB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.9156, allocations: 12.03 kB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009875/0.9255, allocations: 1.29 MB / 1.181 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.9279, allocations: 1.036 MB / 1.182 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.928, allocations: 94.67 kB / 1.182 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.9283, allocations: 132 kB / 1.183 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006186/0.9345, allocations: 2.213 MB / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.9345, allocations: 0 / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.9347, allocations: 56 kB / 1.185 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.9348, allocations: 36 kB / 1.185 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009/0.9438, allocations: 2.964 MB / 1.188 GB, free: 2.852 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.0166/0.9605, allocations: 5.396 MB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008828/0.9693, allocations: 2.872 MB / 1.196 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/0.9729, allocations: 1.131 MB / 1.197 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007469/0.9736, allocations: 0.6105 MB / 1.197 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004266/0.9779, allocations: 1.453 MB / 1.199 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 5.19e-06/0.978, allocations: 4 kB / 1.199 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01298/0.991, allocations: 3.621 MB / 1.202 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.9912, allocations: 197.2 kB / 1.203 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.9929, allocations: 0.8139 MB / 1.203 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/0.9932, allocations: 49.7 kB / 1.203 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006788/0.9939, allocations: 0.5084 MB / 1.204 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006429/0.9946, allocations: 445.6 kB / 1.204 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007233/0.9953, allocations: 270.6 kB / 1.205 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.9955, allocations: 353.9 kB / 1.205 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/0.9989, allocations: 1.056 MB / 1.206 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003486/1.002, allocations: 1.179 MB / 1.207 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/1.009, allocations: 2.067 MB / 1.209 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/1.009, allocations: 3.938 kB / 1.209 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00814/1.017, allocations: 2.479 MB / 1.212 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/1.017, allocations: 8.062 kB / 1.212 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/1.017, allocations: 4 kB / 1.212 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006832/1.018, allocations: 80.78 kB / 1.212 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/1.02, allocations: 435.3 kB / 1.212 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/1.023, allocations: 1.551 MB / 1.214 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/1.026, allocations: 286.6 kB / 1.214 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/1.026, allocations: 75.86 kB / 1.214 GB, free: 7.328 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.001086/1.027, allocations: 352.6 kB / 1.214 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005501/1.027, allocations: 114.6 kB / 1.214 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009663/1.037, allocations: 2.891 MB / 1.217 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.037, allocations: 12 kB / 1.217 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.037, allocations: 0 / 1.217 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.037, allocations: 7.969 kB / 1.217 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/1.041, allocations: 1.819 MB / 1.219 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.041, allocations: 0 / 1.219 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/1.043, allocations: 423.2 kB / 1.219 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005914/1.044, allocations: 84.77 kB / 1.22 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/1.044, allocations: 51.94 kB / 1.22 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/1.046, allocations: 1.564 MB / 1.221 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.046, allocations: 0 / 1.221 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008554/1.055, allocations: 2.572 MB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.056, allocations: 467 kB / 1.224 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/1.057, allocations: 31.98 kB / 1.224 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.059, allocations: 239.6 kB / 1.224 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/1.059, allocations: 97.17 kB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.059, allocations: 67.92 kB / 1.224 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001234/1.061, allocations: 0.5849 MB / 1.225 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.11e-07/1.061, allocations: 0 / 1.225 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001899/1.063, allocations: 0.5068 MB / 1.226 GB, free: 11.22 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.002417/1.065, allocations: 0.6362 MB / 1.226 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00843/1.074, allocations: 2.527 MB / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.074, allocations: 3.938 kB / 1.229 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004705/1.078, allocations: 1.396 MB / 1.23 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/1.081, allocations: 324.8 kB / 1.23 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008868/1.09, allocations: 3.637 MB / 1.234 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.091, allocations: 1.191 MB / 1.235 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002757/1.094, allocations: 485.5 kB / 1.235 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009521/1.095, allocations: 175.2 kB / 1.236 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of SimCode: time 1.623e-06/1.095, allocations: 0 / 1.236 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of Templates: time 0.6113/1.706, allocations: 23.33 MB / 1.258 GB, free: 228.3 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=400 -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