Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009968/0.0009968, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.000963/0.000963, allocations: 169 kB / 24.06 MB, free: 456 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 0.9263/0.9263, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.084/2.084, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.6e-05, allocations: 3.375 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002728/0.002744, allocations: 2.565 MB / 0.8819 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.004023, allocations: 0.9894 MB / 0.8828 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.004112, allocations: 8.656 kB / 0.8828 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.004471, allocations: 93.05 kB / 0.8829 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.004673, allocations: 139.1 kB / 0.8831 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.004827, allocations: 109.6 kB / 0.8832 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.005065, allocations: 318.9 kB / 0.8835 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.005316, allocations: 180.6 kB / 0.8836 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.005463, allocations: 171.7 kB / 0.8838 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.005672, allocations: 138.2 kB / 0.8839 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.005695, allocations: 16 kB / 0.884 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.005808, allocations: 91.73 kB / 0.884 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.005874, allocations: 91.73 kB / 0.8841 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.005935, allocations: 79.83 kB / 0.8842 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.006158, allocations: 223.2 kB / 0.8844 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.006159, allocations: 0.7188 kB / 0.8844 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00616, allocations: 3.938 kB / 0.8844 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.006164, allocations: 1.344 kB / 0.8844 GB, free: 0.8672 MB / 0.8386 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.0004844/0.006648, allocations: 0.5467 MB / 0.885 GB, free: 288 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.006676, allocations: 8.031 kB / 0.885 GB, free: 280 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.007014, allocations: 104.6 kB / 0.8851 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.007194, allocations: 184.2 kB / 0.8852 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.007206, allocations: 16.75 kB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.007227, allocations: 20.38 kB / 0.8853 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.007454, allocations: 278.3 kB / 0.8855 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.007464, allocations: 12.12 kB / 0.8856 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.007479, allocations: 4.375 kB / 0.8856 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.007505, allocations: 24.3 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.007585, allocations: 64.77 kB / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.008322, allocations: 1.248 MB / 0.8869 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.008432, allocations: 63.11 kB / 0.8869 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.008453, allocations: 19.69 kB / 0.8869 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.008459, allocations: 4 kB / 0.8869 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.008478, allocations: 41.27 kB / 0.887 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.008479, allocations: 0 / 0.887 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002214/0.0087, allocations: 109.4 kB / 0.8871 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.008722, allocations: 55.41 kB / 0.8871 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.008828, allocations: 230.5 kB / 0.8874 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.008839, allocations: 33.64 kB / 0.8874 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.008914, allocations: 222.7 kB / 0.8876 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.008928, allocations: 23.78 kB / 0.8876 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.008969, allocations: 39.31 kB / 0.8877 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.009076, allocations: 0.5 MB / 0.8882 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.009096, allocations: 15.98 kB / 0.8882 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/0.009152, allocations: 103.3 kB / 0.8883 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.009245, allocations: 132.7 kB / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.009247, allocations: 4 kB / 0.8884 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001509/0.009398, allocations: 165 kB / 0.8886 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.009408, allocations: 4 kB / 0.8886 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009413, allocations: 4 kB / 0.8886 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.009538, allocations: 31.66 kB / 0.8886 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.009594, allocations: 27.94 kB / 0.8886 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.01041, allocations: 1.725 MB / 0.8903 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.01046, allocations: 15.89 kB / 0.8903 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.01047, allocations: 8 kB / 0.8903 GB, free: 10.34 MB / 0.8542 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 6.987e-05/0.01054, allocations: 168.5 kB / 0.8905 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01056, allocations: 11.95 kB / 0.8905 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/0.01058, allocations: 17.59 kB / 0.8905 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-07/0.01058, allocations: 0 / 0.8905 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01058, allocations: 7.938 kB / 0.8905 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01059, allocations: 4.031 kB / 0.8905 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.01082, allocations: 353.6 kB / 0.8909 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01082, allocations: 4 kB / 0.8909 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.01084, allocations: 4 kB / 0.8909 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.398e-05/0.01092, allocations: 43.53 kB / 0.8909 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.01093, allocations: 0 / 0.8909 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00058/0.01151, allocations: 1.705 MB / 0.8926 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01151, allocations: 4 kB / 0.8926 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.01162, allocations: 235.5 kB / 0.8928 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.01165, allocations: 15.91 kB / 0.8928 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.01166, allocations: 4.125 kB / 0.8928 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.01171, allocations: 7.984 kB / 0.8928 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.01172, allocations: 4 kB / 0.8928 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.01173, allocations: 4 kB / 0.8928 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.806e-05/0.0118, allocations: 172.6 kB / 0.893 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 3.938 kB / 0.893 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001917/0.01199, allocations: 55.83 kB / 0.8931 GB, free: 7.344 MB / 0.8542 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.812e-05/0.01206, allocations: 95.25 kB / 0.8932 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.01226, allocations: 241.8 kB / 0.8934 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01226, allocations: 4 kB / 0.8934 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.01234, allocations: 189.5 kB / 0.8936 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01255, allocations: 49.64 kB / 0.8936 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.01308, allocations: 347.2 kB / 0.8939 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.638e-05/0.01314, allocations: 91.95 kB / 0.894 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.01318, allocations: 9.5 kB / 0.894 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.01326, allocations: 98.17 kB / 0.8941 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.01326, allocations: 0 / 0.8941 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of Templates: time 0.003255/0.01651, allocations: 1.823 MB / 0.8959 GB, free: 4.363 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.013940843287855]