Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 198.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.84 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8102, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008276/0.8186, allocations: 6.321 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006905/0.8255, allocations: 4.519 MB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008248/0.8264, allocations: 19.88 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.829, allocations: 0.8525 MB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.8321, allocations: 0.715 MB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.8332, allocations: 295.5 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.8356, allocations: 1.433 MB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009257/0.8365, allocations: 479.5 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009444/0.8375, allocations: 418.3 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.8386, allocations: 0.5059 MB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.8388, allocations: 44 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009017/0.8397, allocations: 319.4 kB / 1.032 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.8401, allocations: 223.2 kB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007053/0.8408, allocations: 378 kB / 1.033 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.8423, allocations: 1.059 MB / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8423, allocations: 0 / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8423, allocations: 0 / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.12e-05/0.8424, allocations: 0 / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002056/0.8444, allocations: 1.098 MB / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.8445, allocations: 8.031 kB / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.8476, allocations: 0.628 MB / 1.035 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009018/0.8485, allocations: 0.5346 MB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.8486, allocations: 45.69 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.683e-05/0.8487, allocations: 56.11 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.8508, allocations: 1.022 MB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.8508, allocations: 7.938 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.8509, allocations: 20 kB / 1.037 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.029e-05/0.851, allocations: 53.17 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.8534, allocations: 1.004 MB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/0.8581, allocations: 3.486 MB / 1.041 GB, free: 8.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.8595, allocations: 498.9 kB / 1.042 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.8601, allocations: 229.2 kB / 1.042 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.8601, allocations: 7.984 kB / 1.042 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.8602, allocations: 42.56 kB / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/0.8602, allocations: 0 / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007086/0.8673, allocations: 2.017 MB / 1.044 GB, free: 5.957 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.8673, allocations: 59.39 kB / 1.044 GB, free: 5.887 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.8681, allocations: 0.5627 MB / 1.045 GB, free: 5.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.8682, allocations: 41.7 kB / 1.045 GB, free: 5.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.8685, allocations: 352.2 kB / 1.045 GB, free: 4.922 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.8686, allocations: 149.8 kB / 1.045 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.8688, allocations: 94.14 kB / 1.045 GB, free: 4.676 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.869, allocations: 378.7 kB / 1.046 GB, free: 4.297 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.8697, allocations: 258.9 kB / 1.046 GB, free: 4.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.8704, allocations: 370.6 kB / 1.046 GB, free: 3.633 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.8717, allocations: 0.6225 MB / 1.047 GB, free: 2.969 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8718, allocations: 0 / 1.047 GB, free: 2.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002402/0.8742, allocations: 0.9312 MB / 1.048 GB, free: 2.012 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.8742, allocations: 9.25 kB / 1.048 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.8742, allocations: 0 / 1.048 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.8754, allocations: 281.1 kB / 1.048 GB, free: 1.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.876, allocations: 115.8 kB / 1.048 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009255/0.8853, allocations: 8.447 MB / 1.057 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.886, allocations: 43.94 kB / 1.057 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.8861, allocations: 24.06 kB / 1.057 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001005/0.8871, allocations: 434.5 kB / 1.057 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007275/0.8879, allocations: 357.4 kB / 1.057 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001325/0.8892, allocations: 0.609 MB / 1.058 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.8892, allocations: 0 / 1.058 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00258/0.8918, allocations: 1.117 MB / 1.059 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.8919, allocations: 8 kB / 1.059 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8919, allocations: 4.141 kB / 1.059 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/0.8927, allocations: 229.2 kB / 1.059 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.8933, allocations: 115.8 kB / 1.059 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006775/0.9001, allocations: 8.165 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.9008, allocations: 43.95 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.9009, allocations: 16 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.9012, allocations: 220.1 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.9014, allocations: 71.16 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.9016, allocations: 78.36 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.9016, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.9016, allocations: 4 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9016, allocations: 4.078 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.9027, allocations: 0.6494 MB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.9027, allocations: 3.984 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.9032, allocations: 95.78 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009743/0.9042, allocations: 256.9 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.9042, allocations: 8 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006904/0.9111, allocations: 8.4 MB / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9112, allocations: 0 / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.9134, allocations: 0.9054 MB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.9137, allocations: 184.1 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.9139, allocations: 15.92 kB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.9144, allocations: 39.95 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.9145, allocations: 43.89 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.9146, allocations: 8 kB / 1.078 GB, free: 340 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005517/0.9151, allocations: 407.1 kB / 1.079 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.9151, allocations: 0 / 1.079 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001152/0.9163, allocations: 296 kB / 1.079 GB, free: 15.65 MB / 0.8419 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.9165, allocations: 118.2 kB / 1.079 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003944/0.9204, allocations: 2.349 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9204, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.922, allocations: 0.9963 MB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.9232, allocations: 210.8 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.9265, allocations: 1.566 MB / 1.084 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.9272, allocations: 0.9821 MB / 1.085 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006467/0.9279, allocations: 149.4 kB / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.928, allocations: 43.42 kB / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.9281, allocations: 0 / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of Templates: time 0.02406/0.9521, allocations: 12.81 MB / 1.098 GB, free: 12.27 MB / 0.8575 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches