Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001736/0.001736, allocations: 108.7 kB / 16.41 MB, free: 6.414 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.001974/0.001974, allocations: 185.7 kB / 17.34 MB, free: 5.695 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 64.12 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7476, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007732/0.7554, allocations: 6.241 MB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1587/0.9142, allocations: 151.6 MB / 1.362 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.9153, allocations: 23.88 kB / 1.363 GB, free: 15.24 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.9162, allocations: 229.8 kB / 1.363 GB, free: 15.02 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.9188, allocations: 0.6949 MB / 1.363 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.9212, allocations: 1.004 MB / 1.364 GB, free: 13.32 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.9237, allocations: 2.056 MB / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.9251, allocations: 0.8601 MB / 1.367 GB, free: 10.37 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.9264, allocations: 0.736 MB / 1.368 GB, free: 9.629 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.9276, allocations: 0.8015 MB / 1.369 GB, free: 8.824 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005095/0.9282, allocations: 192 kB / 1.369 GB, free: 8.637 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.9298, allocations: 0.6596 MB / 1.37 GB, free: 7.977 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.9304, allocations: 494.6 kB / 1.37 GB, free: 7.492 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008941/0.9313, allocations: 0.8514 MB / 1.371 GB, free: 6.637 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.9339, allocations: 2.475 MB / 1.373 GB, free: 4.156 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.9339, allocations: 0 / 1.373 GB, free: 4.156 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9339, allocations: 0 / 1.373 GB, free: 4.156 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.9339, allocations: 0 / 1.373 GB, free: 4.156 MB / 1.092 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.003145/0.9371, allocations: 1.91 MB / 1.375 GB, free: 2.188 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.9371, allocations: 8.031 kB / 1.375 GB, free: 2.18 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009583/0.9467, allocations: 1.286 MB / 1.376 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.9483, allocations: 1.055 MB / 1.377 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/0.9484, allocations: 102.7 kB / 1.378 GB, free: 15.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.9486, allocations: 127.9 kB / 1.378 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005388/0.954, allocations: 2.209 MB / 1.38 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.954, allocations: 4 kB / 1.38 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.9542, allocations: 52 kB / 1.38 GB, free: 13.23 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.9542, allocations: 32 kB / 1.38 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008164/0.9624, allocations: 2.968 MB / 1.383 GB, free: 10.23 MB / 1.107 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.009062/0.9715, allocations: 5.353 MB / 1.388 GB, free: 4.727 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008274/0.9798, allocations: 2.892 MB / 1.391 GB, free: 1.828 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003424/0.9832, allocations: 1.129 MB / 1.392 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007127/0.984, allocations: 0.6105 MB / 1.393 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004115/0.9881, allocations: 1.442 MB / 1.394 GB, free: 14.49 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 7.183e-06/0.9881, allocations: 4 kB / 1.394 GB, free: 14.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=133): time 0.01213/1, allocations: 3.629 MB / 1.398 GB, free: 10.83 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1, allocations: 197.2 kB / 1.398 GB, free: 10.59 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/1.002, allocations: 0.8138 MB / 1.398 GB, free: 9.766 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/1.002, allocations: 53.69 kB / 1.399 GB, free: 9.707 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/1.002, allocations: 0.5085 MB / 1.399 GB, free: 9.191 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/1.003, allocations: 441.6 kB / 1.399 GB, free: 8.754 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/1.003, allocations: 266.7 kB / 1.4 GB, free: 8.488 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.004, allocations: 357.9 kB / 1.4 GB, free: 8.133 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/1.007, allocations: 1.049 MB / 1.401 GB, free: 7.082 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/1.01, allocations: 1.191 MB / 1.402 GB, free: 5.875 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006495/1.017, allocations: 2.067 MB / 1.404 GB, free: 3.789 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.017, allocations: 3.938 kB / 1.404 GB, free: 3.785 MB / 1.123 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008007/1.025, allocations: 2.479 MB / 1.407 GB, free: 1.293 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.025, allocations: 10.19 kB / 1.407 GB, free: 1.285 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.025, allocations: 64 / 1.407 GB, free: 1.285 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/1.026, allocations: 92.78 kB / 1.407 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/1.028, allocations: 423.3 kB / 1.407 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.03, allocations: 1.654 MB / 1.409 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/1.033, allocations: 286.6 kB / 1.409 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/1.033, allocations: 63.94 kB / 1.409 GB, free: 14.63 MB / 1.139 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.0007818/1.034, allocations: 347.8 kB / 1.409 GB, free: 14.28 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/1.034, allocations: 122.5 kB / 1.41 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008754/1.043, allocations: 2.883 MB / 1.412 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.043, allocations: 12 kB / 1.412 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.043, allocations: 0 / 1.412 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.043, allocations: 11.97 kB / 1.412 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/1.045, allocations: 1.808 MB / 1.414 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.045, allocations: 0 / 1.414 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/1.048, allocations: 411.3 kB / 1.415 GB, free: 8.977 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/1.048, allocations: 76.78 kB / 1.415 GB, free: 8.898 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/1.048, allocations: 51.94 kB / 1.415 GB, free: 8.848 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/1.05, allocations: 1.666 MB / 1.416 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.05, allocations: 3.984 kB / 1.416 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007891/1.058, allocations: 2.58 MB / 1.419 GB, free: 4.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/1.059, allocations: 467 kB / 1.419 GB, free: 3.953 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/1.059, allocations: 35.98 kB / 1.419 GB, free: 3.918 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.061, allocations: 219.7 kB / 1.42 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/1.061, allocations: 105.2 kB / 1.42 GB, free: 3.602 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.062, allocations: 71.88 kB / 1.42 GB, free: 3.531 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008647/1.062, allocations: 0.5849 MB / 1.42 GB, free: 2.949 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.1e-07/1.062, allocations: 0 / 1.42 GB, free: 2.949 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00143/1.064, allocations: 0.5068 MB / 1.421 GB, free: 2.441 MB / 1.139 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.001638/1.066, allocations: 0.6476 MB / 1.421 GB, free: 1.973 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007697/1.073, allocations: 2.535 MB / 1.424 GB, free: 15.42 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.073, allocations: 4.062 kB / 1.424 GB, free: 15.42 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/1.077, allocations: 1.388 MB / 1.425 GB, free: 14.02 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.079, allocations: 354.7 kB / 1.426 GB, free: 13.7 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007121/1.086, allocations: 3.059 MB / 1.429 GB, free: 10.61 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008935/1.087, allocations: 1.191 MB / 1.43 GB, free: 9.383 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009388/1.088, allocations: 199.2 kB / 1.43 GB, free: 9.188 MB / 1.154 GB Notification: Performance of SimCode: time 7.82e-07/1.088, allocations: 4 kB / 1.43 GB, free: 9.184 MB / 1.154 GB Notification: Performance of Templates: time 0.04188/1.13, allocations: 30.86 MB / 1.46 GB, free: 10.39 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches