Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_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_latest_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.007031/0.007031, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001599/0.001599, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002004, allocations: 68.08 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007842/0.3297, allocations: 5.818 MB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7966/1.126, allocations: 151.3 MB / 1.361 GB, free: 8.133 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/1.128, allocations: 21.16 kB / 1.361 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008303/1.129, allocations: 218.1 kB / 1.361 GB, free: 7.984 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/1.131, allocations: 0.6606 MB / 1.362 GB, free: 7.602 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/1.134, allocations: 0.9781 MB / 1.363 GB, free: 7.098 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003055/1.137, allocations: 1.898 MB / 1.365 GB, free: 6.148 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/1.138, allocations: 0.7712 MB / 1.366 GB, free: 5.738 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/1.139, allocations: 0.6797 MB / 1.366 GB, free: 5.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/1.141, allocations: 0.7386 MB / 1.367 GB, free: 5.035 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/1.141, allocations: 162.8 kB / 1.367 GB, free: 5.035 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/1.142, allocations: 0.6405 MB / 1.368 GB, free: 4.883 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004725/1.143, allocations: 441.7 kB / 1.368 GB, free: 4.621 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/1.144, allocations: 0.7752 MB / 1.369 GB, free: 4.113 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/1.147, allocations: 2.199 MB / 1.371 GB, free: 3.207 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.147, allocations: 1.594 kB / 1.371 GB, free: 3.207 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/1.147, allocations: 3.75 kB / 1.371 GB, free: 3.207 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.172e-05/1.148, allocations: 0 / 1.371 GB, free: 3.207 MB / 1.061 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.004323/1.152, allocations: 1.814 MB / 1.373 GB, free: 1.914 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/1.152, allocations: 9.625 kB / 1.373 GB, free: 1.914 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009558/1.162, allocations: 1.275 MB / 1.374 GB, free: 1.305 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/1.164, allocations: 0.9827 MB / 1.375 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/1.164, allocations: 92.02 kB / 1.375 GB, free: 492 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/1.164, allocations: 119.8 kB / 1.375 GB, free: 452 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005744/1.17, allocations: 2.034 MB / 1.377 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/1.17, allocations: 5.109 kB / 1.377 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/1.17, allocations: 52.78 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.17, allocations: 29.09 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008462/1.179, allocations: 2.761 MB / 1.38 GB, free: 13.8 MB / 1.076 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.01012/1.189, allocations: 4.701 MB / 1.385 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00888/1.198, allocations: 2.74 MB / 1.387 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/1.201, allocations: 1.038 MB / 1.388 GB, free: 8.324 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/1.202, allocations: 0.6155 MB / 1.389 GB, free: 7.621 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003861/1.206, allocations: 1.357 MB / 1.39 GB, free: 6.812 MB / 1.076 GB Notification: Performance of pre-optimization done (n=132): time 3.657e-06/1.206, allocations: 1.625 kB / 1.39 GB, free: 6.812 MB / 1.076 GB Notification: Performance of matching and sorting (n=132): time 0.01187/1.218, allocations: 3.375 MB / 1.394 GB, free: 5.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.218, allocations: 206 kB / 1.394 GB, free: 4.836 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.219, allocations: 0.776 MB / 1.395 GB, free: 4.395 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001693/1.219, allocations: 50.73 kB / 1.395 GB, free: 4.344 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/1.22, allocations: 477.2 kB / 1.395 GB, free: 3.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/1.22, allocations: 428.7 kB / 1.395 GB, free: 3.559 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/1.221, allocations: 271.4 kB / 1.396 GB, free: 3.398 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.221, allocations: 351.1 kB / 1.396 GB, free: 3.062 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/1.224, allocations: 0.9665 MB / 1.397 GB, free: 2.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.227, allocations: 1.098 MB / 1.398 GB, free: 1.973 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/1.234, allocations: 1.922 MB / 1.4 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.234, allocations: 3.938 kB / 1.4 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008087/1.242, allocations: 2.331 MB / 1.402 GB, free: 15.03 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.242, allocations: 7.938 kB / 1.402 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.242, allocations: 4 kB / 1.402 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/1.243, allocations: 81.41 kB / 1.402 GB, free: 14.94 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.245, allocations: 426.5 kB / 1.403 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/1.247, allocations: 1.652 MB / 1.404 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/1.25, allocations: 283.2 kB / 1.405 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.25, allocations: 68.73 kB / 1.405 GB, free: 12.38 MB / 1.092 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.0008169/1.251, allocations: 338.4 kB / 1.405 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/1.251, allocations: 106.7 kB / 1.405 GB, free: 11.94 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008499/1.26, allocations: 2.722 MB / 1.408 GB, free: 9.207 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.26, allocations: 16 kB / 1.408 GB, free: 9.191 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.26, allocations: 0 / 1.408 GB, free: 9.191 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/1.26, allocations: 11.97 kB / 1.408 GB, free: 9.18 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/1.271, allocations: 4.307 MB / 1.412 GB, free: 4.809 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.271, allocations: 0 / 1.412 GB, free: 4.809 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.273, allocations: 411.4 kB / 1.412 GB, free: 4.406 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/1.274, allocations: 72.78 kB / 1.412 GB, free: 4.332 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.274, allocations: 51.94 kB / 1.413 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.276, allocations: 1.673 MB / 1.414 GB, free: 2.461 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.276, allocations: 4.031 kB / 1.414 GB, free: 2.457 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007855/1.284, allocations: 2.485 MB / 1.417 GB, free: 15.95 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.285, allocations: 423.2 kB / 1.417 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/1.285, allocations: 28 kB / 1.417 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.287, allocations: 232.8 kB / 1.417 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.287, allocations: 109.1 kB / 1.417 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.287, allocations: 63.92 kB / 1.417 GB, free: 15.09 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007225/1.288, allocations: 0.5537 MB / 1.418 GB, free: 14.54 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.288, allocations: 0 / 1.418 GB, free: 14.54 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00135/1.289, allocations: 0.4912 MB / 1.418 GB, free: 14.05 MB / 1.107 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.001588/1.291, allocations: 0.6461 MB / 1.419 GB, free: 13.58 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00757/1.299, allocations: 2.355 MB / 1.421 GB, free: 11.21 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.299, allocations: 4 kB / 1.421 GB, free: 11.21 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00386/1.303, allocations: 1.306 MB / 1.423 GB, free: 9.891 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.304, allocations: 334.7 kB / 1.423 GB, free: 9.586 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/1.311, allocations: 2.809 MB / 1.426 GB, free: 6.75 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/1.312, allocations: 1.159 MB / 1.427 GB, free: 5.559 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001628/1.313, allocations: 485.2 kB / 1.427 GB, free: 5.082 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/1.314, allocations: 171.2 kB / 1.427 GB, free: 4.918 MB / 1.107 GB Notification: Performance of SimCode: time 4.81e-07/1.314, allocations: 0 / 1.427 GB, free: 4.918 MB / 1.107 GB Notification: Performance of Templates: time 0.03814/1.352, allocations: 23.88 MB / 1.451 GB, free: 13.2 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches