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.0009747/0.0009747, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001039/0.001039, allocations: 165 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 0.9339/0.9339, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.876/1.876, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.854e-06/1.854e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.635e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003358/0.003384, allocations: 2.983 MB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.004989, allocations: 1.123 MB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.005132, allocations: 12.84 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.005619, allocations: 123.2 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.005957, allocations: 197.2 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.006267, allocations: 160.5 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.006923, allocations: 487.5 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.007372, allocations: 293.4 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.00763, allocations: 275.3 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.007952, allocations: 197.3 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.007992, allocations: 28 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.008173, allocations: 107.7 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.008276, allocations: 131.6 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/0.008376, allocations: 120.9 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.008737, allocations: 330.8 kB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.008741, allocations: 0 / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.302e-06/0.008743, allocations: 1 kB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.008749, 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.0007105/0.009459, allocations: 0.6508 MB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.009497, allocations: 8.031 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.01011, allocations: 197.9 kB / 0.8187 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.0104, allocations: 238 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.01042, allocations: 21.03 kB / 0.819 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.01045, allocations: 32.36 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.01086, allocations: 464.8 kB / 0.8194 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.01088, allocations: 4.797 kB / 0.8194 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.0109, allocations: 17.09 kB / 0.8195 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.01095, allocations: 32.58 kB / 0.8195 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.01116, allocations: 145.6 kB / 0.8196 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.0125, allocations: 1.911 MB / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.01273, allocations: 108.4 kB / 0.8216 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.01287, allocations: 67.64 kB / 0.8217 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.01289, allocations: 4.812 kB / 0.8217 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.01292, allocations: 41.33 kB / 0.8217 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.01292, allocations: 4.875 kB / 0.8217 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0003664/0.01329, allocations: 166.3 kB / 0.8219 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.01331, allocations: 51.41 kB / 0.8219 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.01348, allocations: 278.6 kB / 0.8222 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.0135, allocations: 30.58 kB / 0.8222 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01361, allocations: 258.9 kB / 0.8225 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.01364, allocations: 53.69 kB / 0.8225 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.01369, allocations: 51.56 kB / 0.8226 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003538/0.01405, allocations: 0.504 MB / 0.823 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.0141, allocations: 28.39 kB / 0.8231 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.796e-05/0.0142, allocations: 145.5 kB / 0.8232 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.01436, allocations: 199.7 kB / 0.8234 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01436, allocations: 64 / 0.8234 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002677/0.01463, allocations: 218.1 kB / 0.8236 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01465, allocations: 8 kB / 0.8236 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01465, allocations: 0 / 0.8236 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.01485, allocations: 42.09 kB / 0.8237 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01497, allocations: 47.92 kB / 0.8237 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008377/0.01581, allocations: 1.75 MB / 0.8254 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01591, allocations: 23.47 kB / 0.8254 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01593, allocations: 12 kB / 0.8254 GB, free: 2.934 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.0001049/0.01603, allocations: 172.5 kB / 0.8256 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.01606, allocations: 23.86 kB / 0.8256 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.01609, allocations: 29.45 kB / 0.8257 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01609, allocations: 3.938 kB / 0.8257 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.0161, allocations: 0 / 0.8257 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.0161, allocations: 0 / 0.8257 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.01665, allocations: 0.5632 MB / 0.8262 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.01666, allocations: 4 kB / 0.8262 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.01671, allocations: 21.11 kB / 0.8262 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.01682, allocations: 40.12 kB / 0.8263 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01683, allocations: 4 kB / 0.8263 GB, free: 2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007675/0.0176, allocations: 1.74 MB / 0.828 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.0176, allocations: 7.938 kB / 0.828 GB, free: 128 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.01785, allocations: 338.2 kB / 0.8283 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.01791, allocations: 49.31 kB / 0.8284 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.01792, allocations: 4 kB / 0.8284 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.01801, allocations: 8 kB / 0.8284 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.01804, allocations: 16.47 kB / 0.8284 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.01805, allocations: 8 kB / 0.8284 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.716e-05/0.01814, allocations: 190.3 kB / 0.8286 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.01814, allocations: 0 / 0.8286 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002954/0.01844, allocations: 79.84 kB / 0.8287 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.0001043/0.01854, allocations: 111.1 kB / 0.8288 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.01891, allocations: 279.2 kB / 0.829 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01891, allocations: 4.75 kB / 0.829 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.01905, allocations: 221.5 kB / 0.8292 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.01939, allocations: 52.58 kB / 0.8293 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.02059, allocations: 0.5363 MB / 0.8298 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.02066, allocations: 104.3 kB / 0.8299 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.785e-05/0.02075, allocations: 37.91 kB / 0.8299 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.02079, allocations: 20.5 kB / 0.83 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of SimCode: time 1.603e-06/0.02079, allocations: 0 / 0.83 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.004645/0.02544, allocations: 2.471 MB / 0.8324 GB, free: 11.52 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: 5.245587880723178]