Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001406/0.001406, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001475/0.001475, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 67.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8382, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007818/0.8461, allocations: 6.289 MB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007397/0.8535, allocations: 4.534 MB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.8546, allocations: 24.31 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.8578, allocations: 0.9093 MB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.8615, allocations: 0.793 MB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.863, allocations: 323.9 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002741/0.8657, allocations: 1.141 MB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.8674, allocations: 0.685 MB / 1.103 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.8691, allocations: 481.8 kB / 1.103 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.8709, allocations: 0.4995 MB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.8713, allocations: 70.22 kB / 1.104 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.8726, allocations: 274.7 kB / 1.104 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.8732, allocations: 249.1 kB / 1.104 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008048/0.874, allocations: 407.4 kB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.876, allocations: 1.076 MB / 1.106 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.876, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.174e-06/0.876, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.876, allocations: 1.312 kB / 1.106 GB, free: 10.82 MB / 0.8731 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.00259/0.8786, allocations: 1.092 MB / 1.107 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8787, allocations: 8.219 kB / 1.107 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/0.8826, allocations: 0.628 MB / 1.108 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.8843, allocations: 0.5797 MB / 1.108 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.8844, allocations: 43.25 kB / 1.108 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.8846, allocations: 49.72 kB / 1.108 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.8875, allocations: 1.019 MB / 1.109 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.8875, allocations: 5 kB / 1.109 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.8876, allocations: 26.67 kB / 1.109 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.964e-05/0.8877, allocations: 47.36 kB / 1.109 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.8905, allocations: 1.008 MB / 1.11 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.8964, allocations: 3.476 MB / 1.114 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.8984, allocations: 495.1 kB / 1.114 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.8991, allocations: 227.8 kB / 1.114 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.8991, allocations: 7.766 kB / 1.114 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.8992, allocations: 41.84 kB / 1.114 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.8992, allocations: 3.938 kB / 1.114 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.00778/0.907, allocations: 2.015 MB / 1.116 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.9071, allocations: 55.44 kB / 1.116 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/0.908, allocations: 0.5739 MB / 1.117 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.9081, allocations: 32.11 kB / 1.117 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.9084, allocations: 355 kB / 1.117 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.9086, allocations: 152.8 kB / 1.118 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.9088, allocations: 96.05 kB / 1.118 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.909, allocations: 372.6 kB / 1.118 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/0.9097, allocations: 256.1 kB / 1.118 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.9106, allocations: 370.8 kB / 1.119 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.9122, allocations: 0.6231 MB / 1.119 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9122, allocations: 1.219 kB / 1.119 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00274/0.9149, allocations: 0.9278 MB / 1.12 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.915, allocations: 8.031 kB / 1.12 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.915, allocations: 6.656 kB / 1.12 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.9162, allocations: 270.6 kB / 1.12 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.9169, allocations: 122.9 kB / 1.12 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009188/0.9261, allocations: 9.105 MB / 1.129 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.9269, allocations: 43.39 kB / 1.129 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.927, allocations: 22.53 kB / 1.129 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/0.9282, allocations: 442.3 kB / 1.13 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000848/0.929, allocations: 357.7 kB / 1.13 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001639/0.9307, allocations: 0.6081 MB / 1.131 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.217e-06/0.9307, allocations: 1.312 kB / 1.131 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002987/0.9337, allocations: 1.128 MB / 1.132 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.9337, allocations: 9.406 kB / 1.132 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.9337, allocations: 7.891 kB / 1.132 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000899/0.9346, allocations: 220.7 kB / 1.132 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.9353, allocations: 119.5 kB / 1.132 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/0.9428, allocations: 8.792 MB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.9437, allocations: 46.36 kB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.9437, allocations: 19.5 kB / 1.141 GB, free: 15.89 MB / 0.9044 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.0002704/0.944, allocations: 208.2 kB / 1.141 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.9442, allocations: 81.05 kB / 1.141 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.9445, allocations: 75.86 kB / 1.141 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9445, allocations: 3.984 kB / 1.141 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9445, allocations: 0 / 1.141 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.9449, allocations: 185.2 kB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.9451, allocations: 8.969 kB / 1.141 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.9456, allocations: 36.69 kB / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.9458, allocations: 48.41 kB / 1.141 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003078/0.9489, allocations: 0.9231 MB / 1.142 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002515/0.9514, allocations: 1.048 MB / 1.143 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007293/0.9522, allocations: 271.8 kB / 1.144 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006327/0.9528, allocations: 402.1 kB / 1.144 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of Backend: time 6.21e-07/0.9528, allocations: 1.156 kB / 1.144 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004813/0.9576, allocations: 2.33 MB / 1.146 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of SimCode: time 0.003458/0.9611, allocations: 1.899 MB / 1.148 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of Templates: time 0.03769/0.9988, allocations: 16.38 MB / 1.164 GB, free: 5.586 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches