Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.044/1.044, allocations: 177.2 MB / 204.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.779/1.779, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.438e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004506/0.00453, allocations: 2.978 MB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.006581, allocations: 1.127 MB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.006746, allocations: 9.531 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005698/0.007316, allocations: 115.3 kB / 0.8156 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.00775, allocations: 208.9 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.008122, allocations: 156.1 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000602/0.008724, allocations: 490.9 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.009267, allocations: 285.5 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.009592, allocations: 275.9 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.009995, allocations: 209 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.01005, allocations: 28 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.01026, allocations: 95.8 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.0104, allocations: 139.6 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.01054, allocations: 120.3 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.01101, allocations: 328.2 kB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.01101, allocations: 0 / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01101, allocations: 0 / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.01102, allocations: 0 / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.000997/0.01202, allocations: 0.6504 MB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.01207, allocations: 12.03 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/0.01301, allocations: 201.9 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.01343, allocations: 233.9 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.01346, allocations: 25.02 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.01351, allocations: 29.91 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.01414, allocations: 456.9 kB / 0.8194 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.01416, allocations: 4.188 kB / 0.8194 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.01419, allocations: 12.38 kB / 0.8194 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.725e-05/0.01426, allocations: 41.45 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.01457, allocations: 149.8 kB / 0.8196 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.01665, allocations: 1.91 MB / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.01696, allocations: 115.7 kB / 0.8216 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.01717, allocations: 68.17 kB / 0.8217 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.01718, allocations: 1.938 kB / 0.8217 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.01721, allocations: 45.33 kB / 0.8217 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.01721, allocations: 0 / 0.8217 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0004874/0.0177, allocations: 165.9 kB / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.01773, allocations: 51.41 kB / 0.8219 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.01804, allocations: 275.3 kB / 0.8222 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.01806, allocations: 29.7 kB / 0.8222 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01819, allocations: 259.5 kB / 0.8225 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.01823, allocations: 51.59 kB / 0.8225 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.01831, allocations: 56.2 kB / 0.8226 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.01846, allocations: 0.4995 MB / 0.823 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.01853, allocations: 28.45 kB / 0.8231 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.01866, allocations: 150 kB / 0.8232 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01888, allocations: 194 kB / 0.8234 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01889, allocations: 0 / 0.8234 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003604/0.01925, allocations: 214.6 kB / 0.8236 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01926, allocations: 4 kB / 0.8236 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.01927, allocations: 4 kB / 0.8236 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.0195, allocations: 37.66 kB / 0.8237 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.01981, allocations: 49.48 kB / 0.8237 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.02089, allocations: 1.753 MB / 0.8254 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.02101, allocations: 23.84 kB / 0.8254 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.02103, allocations: 12.5 kB / 0.8254 GB, free: 2.93 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.02116, allocations: 173.8 kB / 0.8256 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.02121, allocations: 27.86 kB / 0.8256 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.02124, allocations: 33.88 kB / 0.8257 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.02125, allocations: 7.938 kB / 0.8257 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.02125, allocations: 0.5938 kB / 0.8257 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02125, allocations: 2.031 kB / 0.8257 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.02196, allocations: 0.5536 MB / 0.8262 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02196, allocations: 2.188 kB / 0.8262 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.02204, allocations: 27.92 kB / 0.8262 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/0.02218, allocations: 32.16 kB / 0.8263 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.02219, allocations: 8.688 kB / 0.8263 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.02338, allocations: 1.736 MB / 0.828 GB, free: 128 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.02338, allocations: 3.984 kB / 0.828 GB, free: 124 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.02369, allocations: 337.5 kB / 0.8283 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.02376, allocations: 43.72 kB / 0.8284 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.02378, allocations: 4 kB / 0.8284 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.02392, allocations: 16.12 kB / 0.8284 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.02396, allocations: 15.91 kB / 0.8284 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.02397, allocations: 8 kB / 0.8284 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001368/0.0241, allocations: 189.5 kB / 0.8286 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.0241, allocations: 0 / 0.8286 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004165/0.02452, allocations: 75.84 kB / 0.8286 GB, free: 15.4 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.02463, allocations: 107.2 kB / 0.8287 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.02506, allocations: 286 kB / 0.829 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.02506, allocations: 3.938 kB / 0.829 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.02523, allocations: 221.5 kB / 0.8292 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.02569, allocations: 59.83 kB / 0.8293 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.02682, allocations: 0.5377 MB / 0.8298 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.398e-05/0.02692, allocations: 108.3 kB / 0.8299 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000123/0.02704, allocations: 37.91 kB / 0.83 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.02709, allocations: 20.5 kB / 0.83 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of SimCode: time 1.252e-06/0.02709, allocations: 4 kB / 0.83 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of Templates: time 0.00624/0.03333, allocations: 2.565 MB / 0.8325 GB, free: 11.41 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.976064012851566]