Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001012/0.001012, allocations: 83.59 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.001105/0.001105, allocations: 165 kB / 23.82 MB, free: 0.7461 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.033/1.033, allocations: 177.1 MB / 204.2 MB, free: 5.66 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.763/1.763, allocations: 377.8 MB / 0.6236 GB, free: 8.59 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8115 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.063e-05, allocations: 4.141 kB / 0.8115 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004062/0.004083, allocations: 2.57 MB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.005927, allocations: 1.005 MB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.006065, allocations: 4 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.006572, allocations: 96.3 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.006799, allocations: 136.2 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.006974, allocations: 121.2 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.007231, allocations: 314.8 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.007521, allocations: 180.7 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.00767, allocations: 177 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.007889, allocations: 131.6 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.007915, allocations: 20 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.008037, allocations: 85.33 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.008107, allocations: 95.73 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.008174, allocations: 79.81 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.008429, allocations: 227.2 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.008431, allocations: 4 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.213e-06/0.008432, allocations: 1.062 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.008437, allocations: 0 / 0.8166 GB, free: 12.59 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000549/0.008986, allocations: 0.5283 MB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.009018, allocations: 13 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.009393, allocations: 121.2 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.009587, allocations: 194.1 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.009601, allocations: 16.69 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.009623, allocations: 20.38 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.00989, allocations: 299.5 kB / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.0099, allocations: 192 / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.009918, allocations: 4.375 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.009949, allocations: 25.22 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.01007, allocations: 84.75 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.01096, allocations: 1.243 MB / 0.8191 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.01111, allocations: 75.05 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.01114, allocations: 20.55 kB / 0.8192 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.01115, allocations: 3.984 kB / 0.8192 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.01117, allocations: 42.2 kB / 0.8192 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.01117, allocations: 0 / 0.8192 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000298/0.01147, allocations: 119 kB / 0.8193 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.01149, allocations: 51.41 kB / 0.8194 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.01162, allocations: 242.8 kB / 0.8196 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.01164, allocations: 30.86 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.01172, allocations: 218.8 kB / 0.8198 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.01174, allocations: 31.77 kB / 0.8199 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.01178, allocations: 42.52 kB / 0.8199 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.01202, allocations: 0.4923 MB / 0.8204 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.01205, allocations: 15.98 kB / 0.8204 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.01212, allocations: 112.8 kB / 0.8205 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.01222, allocations: 143.1 kB / 0.8206 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01222, allocations: 0 / 0.8206 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001734/0.0124, allocations: 154.7 kB / 0.8208 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01241, allocations: 12 kB / 0.8208 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01242, allocations: 4 kB / 0.8208 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.01258, allocations: 35.66 kB / 0.8208 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.01264, allocations: 34.92 kB / 0.8209 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009553/0.0136, allocations: 1.736 MB / 0.8226 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.01366, allocations: 15.89 kB / 0.8226 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.01367, allocations: 8.844 kB / 0.8226 GB, free: 5.98 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 8.351e-05/0.01375, allocations: 173.5 kB / 0.8228 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.01377, allocations: 15.91 kB / 0.8228 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.01379, allocations: 22.58 kB / 0.8228 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01379, allocations: 4 kB / 0.8228 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.0138, allocations: 8 kB / 0.8228 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.0138, allocations: 1.125 kB / 0.8228 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.01409, allocations: 389 kB / 0.8232 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01409, allocations: 0 / 0.8232 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.01411, allocations: 9.156 kB / 0.8232 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.794e-05/0.01421, allocations: 38.03 kB / 0.8232 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01422, allocations: 0 / 0.8232 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006198/0.01484, allocations: 1.73 MB / 0.8249 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.01484, allocations: 0 / 0.8249 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.01497, allocations: 248.5 kB / 0.8252 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.01499, allocations: 23.89 kB / 0.8252 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.015, allocations: 0 / 0.8252 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.01505, allocations: 9.281 kB / 0.8252 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.01507, allocations: 3.984 kB / 0.8252 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.01507, allocations: 4 kB / 0.8252 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000331/0.0154, allocations: 164.3 kB / 0.8253 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0154, allocations: 0 / 0.8253 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001937/0.0156, allocations: 51.89 kB / 0.8254 GB, free: 2.914 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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 6.473e-05/0.01566, allocations: 102.3 kB / 0.8255 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.0159, allocations: 241.4 kB / 0.8257 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.0159, allocations: 1.094 kB / 0.8257 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.01598, allocations: 193.5 kB / 0.8259 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.01619, allocations: 31.92 kB / 0.8259 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.01682, allocations: 354.6 kB / 0.8263 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.11e-05/0.01687, allocations: 83.97 kB / 0.8264 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.362e-05/0.01692, allocations: 25.47 kB / 0.8264 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.01695, allocations: 12.5 kB / 0.8264 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01695, allocations: 0 / 0.8264 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of Templates: time 0.003164/0.02011, allocations: 1.757 MB / 0.8281 GB, free: 88 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.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.880515316966921]