Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001153/0.001153, allocations: 104.4 kB / 16.27 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.001081/0.001081, allocations: 191 kB / 17.2 MB, free: 5.953 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.36 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2773, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00669/0.284, allocations: 5.082 MB / 0.9552 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7275/1.012, allocations: 151.2 MB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/1.013, allocations: 20.06 kB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000811/1.014, allocations: 190.8 kB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/1.017, allocations: 0.6011 MB / 1.104 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/1.02, allocations: 0.9687 MB / 1.105 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002643/1.022, allocations: 1.768 MB / 1.106 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/1.024, allocations: 0.8117 MB / 1.107 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/1.025, allocations: 0.6494 MB / 1.108 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/1.026, allocations: 0.7243 MB / 1.109 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000345/1.027, allocations: 166.5 kB / 1.109 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/1.028, allocations: 0.6036 MB / 1.109 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005788/1.029, allocations: 440.3 kB / 1.11 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/1.03, allocations: 0.7505 MB / 1.11 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00405/1.034, allocations: 2.126 MB / 1.113 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.034, allocations: 0 / 1.113 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.344e-06/1.034, allocations: 1.125 kB / 1.113 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.606e-05/1.034, allocations: 4 kB / 1.113 GB, free: 3.645 MB / 0.8575 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.00492/1.039, allocations: 1.791 MB / 1.114 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.039, allocations: 9.844 kB / 1.114 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009678/1.049, allocations: 1.271 MB / 1.116 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/1.051, allocations: 0.9525 MB / 1.116 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.564e-05/1.052, allocations: 92.39 kB / 1.117 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/1.052, allocations: 115.9 kB / 1.117 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/1.058, allocations: 2.043 MB / 1.119 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.058, allocations: 4 kB / 1.119 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/1.058, allocations: 49.34 kB / 1.119 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/1.058, allocations: 30.62 kB / 1.119 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008076/1.066, allocations: 2.758 MB / 1.121 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009633/1.076, allocations: 4.475 MB / 1.126 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008094/1.084, allocations: 2.748 MB / 1.128 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/1.087, allocations: 1.04 MB / 1.129 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/1.088, allocations: 0.6099 MB / 1.13 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003626/1.091, allocations: 1.357 MB / 1.131 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=132): time 3.526e-06/1.091, allocations: 0 / 1.131 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=132): time 0.01156/1.103, allocations: 3.376 MB / 1.135 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.103, allocations: 200.2 kB / 1.135 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.104, allocations: 0.7737 MB / 1.136 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/1.104, allocations: 50.64 kB / 1.136 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/1.105, allocations: 488.6 kB / 1.136 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/1.105, allocations: 427.6 kB / 1.137 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005211/1.106, allocations: 268.8 kB / 1.137 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.106, allocations: 352.3 kB / 1.137 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/1.109, allocations: 0.9716 MB / 1.138 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/1.112, allocations: 1.09 MB / 1.139 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006333/1.119, allocations: 1.927 MB / 1.141 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.119, allocations: 3.938 kB / 1.141 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007612/1.126, allocations: 2.32 MB / 1.143 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/1.126, allocations: 15.22 kB / 1.143 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.126, allocations: 5.391 kB / 1.143 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/1.127, allocations: 83.56 kB / 1.143 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/1.13, allocations: 432.9 kB / 1.144 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/1.132, allocations: 1.643 MB / 1.145 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.134, allocations: 284.7 kB / 1.146 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/1.135, allocations: 74.98 kB / 1.146 GB, free: 11.18 MB / 0.8731 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.00107/1.136, allocations: 326 kB / 1.146 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/1.136, allocations: 106.9 kB / 1.146 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/1.145, allocations: 2.736 MB / 1.149 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/1.145, allocations: 17.28 kB / 1.149 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.145, allocations: 0 / 1.149 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/1.145, allocations: 11.34 kB / 1.149 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.157, allocations: 4.296 MB / 1.153 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.157, allocations: 0 / 1.153 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/1.159, allocations: 414.5 kB / 1.153 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/1.16, allocations: 70.59 kB / 1.154 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/1.16, allocations: 56.06 kB / 1.154 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/1.162, allocations: 1.672 MB / 1.155 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.162, allocations: 0 / 1.155 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00805/1.17, allocations: 2.487 MB / 1.158 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009823/1.171, allocations: 431.2 kB / 1.158 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004752/1.172, allocations: 31.88 kB / 1.158 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.174, allocations: 226 kB / 1.158 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.174, allocations: 97.3 kB / 1.158 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.174, allocations: 65.28 kB / 1.158 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00111/1.176, allocations: 0.561 MB / 1.159 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.176, allocations: 0 / 1.159 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001994/1.178, allocations: 484.8 kB / 1.159 GB, free: 2.629 MB / 0.8731 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.001858/1.179, allocations: 0.6409 MB / 1.16 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009364/1.189, allocations: 2.933 MB / 1.163 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.189, allocations: 0 / 1.163 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/1.194, allocations: 1.304 MB / 1.164 GB, free: 420 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.197, allocations: 327.8 kB / 1.165 GB, free: 248 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.208, allocations: 3.001 MB / 1.167 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.209, allocations: 1.16 MB / 1.169 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.211, allocations: 197.2 kB / 1.169 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of SimCode: time 2.344e-06/1.211, allocations: 0 / 1.169 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of Templates: time 0.05269/1.264, allocations: 28.27 MB / 1.196 GB, free: 9.105 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches