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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001243/0.001243, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 193.8 kB / 16.79 MB, free: 6.832 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.333/1.333, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6232, allocations: 140.3 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005783/0.629, allocations: 5.094 MB / 0.9546 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1597/0.7888, allocations: 148.9 MB / 1.1 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.7901, allocations: 23.88 kB / 1.1 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.7911, allocations: 150.8 kB / 1.1 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.7935, allocations: 0.5127 MB / 1.101 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.7963, allocations: 0.8448 MB / 1.101 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0026/0.7989, allocations: 1.742 MB / 1.103 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.8004, allocations: 0.7936 MB / 1.104 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.8015, allocations: 0.5642 MB / 1.105 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.8026, allocations: 0.6901 MB / 1.105 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003645/0.803, allocations: 88 kB / 1.105 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.8045, allocations: 0.5307 MB / 1.106 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005247/0.8051, allocations: 366.7 kB / 1.106 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.8061, allocations: 0.672 MB / 1.107 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.8083, allocations: 1.594 MB / 1.108 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8083, allocations: 4 kB / 1.108 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8083, allocations: 0 / 1.108 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.759e-05/0.8084, allocations: 0 / 1.108 GB, free: 14.95 MB / 0.8731 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.005621/0.814, allocations: 1.795 MB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.8141, allocations: 11.97 kB / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009431/0.8235, allocations: 1.275 MB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.8256, allocations: 0.9574 MB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-05/0.8258, allocations: 90.45 kB / 1.112 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.826, allocations: 116 kB / 1.113 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/0.8311, allocations: 2.041 MB / 1.114 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.8312, allocations: 0 / 1.114 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.8313, allocations: 51.98 kB / 1.115 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.8314, allocations: 28 kB / 1.115 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007303/0.8387, allocations: 2.76 MB / 1.117 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009027/0.8477, allocations: 4.477 MB / 1.122 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007719/0.8555, allocations: 2.735 MB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.8587, allocations: 1.046 MB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.8593, allocations: 0.6101 MB / 1.126 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003848/0.8632, allocations: 1.359 MB / 1.127 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 4.779e-06/0.8632, allocations: 0 / 1.127 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01127/0.8745, allocations: 3.375 MB / 1.131 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8746, allocations: 197.2 kB / 1.131 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.876, allocations: 0.7783 MB / 1.131 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002806/0.8763, allocations: 53.7 kB / 1.132 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.8769, allocations: 480.8 kB / 1.132 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/0.8775, allocations: 425.8 kB / 1.132 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006744/0.8782, allocations: 270.6 kB / 1.133 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8784, allocations: 357.9 kB / 1.133 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003032/0.8814, allocations: 0.9626 MB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00322/0.8847, allocations: 1.097 MB / 1.135 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005786/0.8905, allocations: 1.923 MB / 1.137 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.8905, allocations: 0 / 1.137 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007374/0.8979, allocations: 2.331 MB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8979, allocations: 7.984 kB / 1.139 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.898, allocations: 3.984 kB / 1.139 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006626/0.8986, allocations: 84.84 kB / 1.139 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.9011, allocations: 423.3 kB / 1.14 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.9033, allocations: 1.536 MB / 1.141 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.9057, allocations: 282.7 kB / 1.141 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.906, allocations: 63.94 kB / 1.142 GB, free: 12.24 MB / 0.9044 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.0008556/0.9068, allocations: 344.4 kB / 1.142 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/0.9073, allocations: 110.6 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008436/0.9157, allocations: 2.719 MB / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.9158, allocations: 27.92 kB / 1.145 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9158, allocations: 3.938 kB / 1.145 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.9158, allocations: 7.969 kB / 1.145 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.9262, allocations: 4.286 MB / 1.149 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9262, allocations: 3.984 kB / 1.149 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/0.9286, allocations: 403.4 kB / 1.149 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005654/0.9291, allocations: 88.77 kB / 1.149 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.9294, allocations: 51.94 kB / 1.149 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.9314, allocations: 1.555 MB / 1.151 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.9314, allocations: 3.938 kB / 1.151 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007464/0.9388, allocations: 2.487 MB / 1.153 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/0.9397, allocations: 431 kB / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/0.9401, allocations: 28 kB / 1.154 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/0.9422, allocations: 231.7 kB / 1.154 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.9425, allocations: 101.1 kB / 1.154 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.9427, allocations: 67.92 kB / 1.154 GB, free: 15.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009407/0.9436, allocations: 0.5537 MB / 1.155 GB, free: 14.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9436, allocations: 0 / 1.155 GB, free: 14.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001647/0.9453, allocations: 479.1 kB / 1.155 GB, free: 14.05 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,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.001778/0.9471, allocations: 0.6374 MB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007108/0.9542, allocations: 2.344 MB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.9542, allocations: 3.938 kB / 1.158 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/0.9579, allocations: 1.314 MB / 1.159 GB, free: 9.898 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.9597, allocations: 301 kB / 1.16 GB, free: 9.613 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007767/0.9675, allocations: 3.553 MB / 1.163 GB, free: 6.027 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/0.9684, allocations: 1.155 MB / 1.164 GB, free: 4.836 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.9695, allocations: 199.2 kB / 1.164 GB, free: 4.641 MB / 0.92 GB Notification: Performance of SimCode: time 1.122e-06/0.9695, allocations: 0 / 1.164 GB, free: 4.641 MB / 0.92 GB Notification: Performance of Templates: time 0.03916/1.009, allocations: 28.29 MB / 1.192 GB, free: 8.414 MB / 0.9512 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