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.0007785/0.0007785, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009233/0.0009233, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.047/1.047, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.863/1.863, allocations: 377.9 MB / 0.624 GB, free: 8.398 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 1.492e-06/1.492e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.819e-05, allocations: 6.25 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004624/0.004652, allocations: 2.554 MB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.006605, allocations: 0.9928 MB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.006774, allocations: 9.312 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.007308, allocations: 91.52 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.007689, allocations: 140.6 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.008015, allocations: 113 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.008432, allocations: 318.8 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.008844, allocations: 180.7 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.00913, allocations: 171.6 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.009474, allocations: 132.2 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.009519, allocations: 17.94 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.009731, allocations: 91.73 kB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.009844, allocations: 87.8 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.01005, allocations: 87.75 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.01051, allocations: 227.2 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.01051, allocations: 2.125 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01051, allocations: 0 / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.01052, allocations: 4 kB / 0.817 GB, free: 12.28 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.0006915/0.01121, allocations: 0.5278 MB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01125, allocations: 8.031 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.01178, allocations: 113.8 kB / 0.8177 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.01202, allocations: 181.8 kB / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.01204, allocations: 16.75 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.01207, allocations: 16.91 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.01238, allocations: 287.6 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01239, allocations: 192 / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.01241, allocations: 8.375 kB / 0.8182 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.01245, allocations: 24.3 kB / 0.8182 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.01258, allocations: 73.84 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01366, allocations: 1.242 MB / 0.8195 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.01382, allocations: 67.06 kB / 0.8195 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.01385, allocations: 24.56 kB / 0.8196 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.01386, allocations: 160 / 0.8196 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.01389, allocations: 46.81 kB / 0.8196 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.01389, allocations: 0 / 0.8196 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002977/0.01419, allocations: 106.3 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.01421, allocations: 51.41 kB / 0.8197 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.01437, allocations: 238.7 kB / 0.82 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.01439, allocations: 31.73 kB / 0.82 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01449, allocations: 218.7 kB / 0.8202 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.01451, allocations: 23.78 kB / 0.8202 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.01457, allocations: 47.3 kB / 0.8203 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01472, allocations: 0.5001 MB / 0.8208 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.01475, allocations: 10.31 kB / 0.8208 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.01483, allocations: 115.2 kB / 0.8209 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.01496, allocations: 126.9 kB / 0.821 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01496, allocations: 0 / 0.821 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002336/0.01519, allocations: 154.8 kB / 0.8212 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.0152, allocations: 4.625 kB / 0.8212 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01521, allocations: 4 kB / 0.8212 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.01538, allocations: 44.22 kB / 0.8212 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.01547, allocations: 23.98 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009419/0.01641, allocations: 1.717 MB / 0.8229 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.01651, allocations: 18.2 kB / 0.8229 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01652, allocations: 8.312 kB / 0.8229 GB, free: 5.785 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 0.0001064/0.01663, allocations: 172.4 kB / 0.8231 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.01666, allocations: 15.97 kB / 0.8231 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.01669, allocations: 22.39 kB / 0.8231 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.01669, allocations: 0 / 0.8231 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01669, allocations: 3.938 kB / 0.8231 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01669, allocations: 1.125 kB / 0.8231 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.01706, allocations: 357.6 kB / 0.8235 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01706, allocations: 0 / 0.8235 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.01709, allocations: 9.094 kB / 0.8235 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.01721, allocations: 36.7 kB / 0.8235 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.01722, allocations: 4.953 kB / 0.8235 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00085/0.01807, allocations: 1.707 MB / 0.8252 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01807, allocations: 0 / 0.8252 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.01824, allocations: 241.6 kB / 0.8254 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.01828, allocations: 23.89 kB / 0.8254 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.01829, allocations: 0 / 0.8254 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.01838, allocations: 4 kB / 0.8255 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.0184, allocations: 7.984 kB / 0.8255 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.0184, allocations: 4.531 kB / 0.8255 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.845e-05/0.01849, allocations: 156.7 kB / 0.8256 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01849, allocations: 0 / 0.8256 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000337/0.01883, allocations: 55.83 kB / 0.8257 GB, free: 2.805 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 9.873e-05/0.01893, allocations: 103.7 kB / 0.8258 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.0192, allocations: 233.4 kB / 0.826 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.0192, allocations: 4 kB / 0.826 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01932, allocations: 197.5 kB / 0.8262 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.01965, allocations: 31.92 kB / 0.8262 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.02041, allocations: 351.2 kB / 0.8265 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.061e-05/0.02049, allocations: 91.91 kB / 0.8266 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.476e-05/0.02055, allocations: 13.48 kB / 0.8266 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.02066, allocations: 98.17 kB / 0.8267 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.02066, allocations: 0 / 0.8267 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of Templates: time 0.004636/0.02529, allocations: 1.777 MB / 0.8285 GB, free: 15.87 MB / 0.7917 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: 5.122858712915331]