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.001452/0.001452, allocations: 112.7 kB / 16.42 MB, free: 6.5 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.00163/0.00163, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.573/2.573, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009228/1.111, allocations: 6.299 MB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007741/1.119, allocations: 4.538 MB / 1.178 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/1.12, allocations: 23.88 kB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002903/1.123, allocations: 0.9196 MB / 1.179 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00272/1.126, allocations: 0.7784 MB / 1.18 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/1.127, allocations: 324.7 kB / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001958/1.129, allocations: 1.134 MB / 1.181 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/1.13, allocations: 0.6808 MB / 1.182 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009787/1.131, allocations: 486.3 kB / 1.182 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/1.132, allocations: 0.4942 MB / 1.183 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002195/1.132, allocations: 68 kB / 1.183 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/1.133, allocations: 283.5 kB / 1.183 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/1.134, allocations: 251.2 kB / 1.183 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006877/1.134, allocations: 410 kB / 1.184 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/1.136, allocations: 1.069 MB / 1.185 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.136, allocations: 0 / 1.185 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.064e-06/1.136, allocations: 7.938 kB / 1.185 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.253e-05/1.136, allocations: 0 / 1.185 GB, free: 2.062 MB / 0.9044 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.002307/1.138, allocations: 1.094 MB / 1.186 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.138, allocations: 8.031 kB / 1.186 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/1.142, allocations: 0.6358 MB / 1.186 GB, free: 276 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/1.143, allocations: 0.5697 MB / 1.187 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/1.143, allocations: 45.61 kB / 1.187 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.143, allocations: 52.12 kB / 1.187 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/1.145, allocations: 1.018 MB / 1.188 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/1.145, allocations: 0 / 1.188 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/1.145, allocations: 27.98 kB / 1.188 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.898e-05/1.145, allocations: 49.28 kB / 1.188 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/1.148, allocations: 1.008 MB / 1.189 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004806/1.153, allocations: 3.486 MB / 1.192 GB, free: 9.621 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/1.154, allocations: 498 kB / 1.193 GB, free: 9.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/1.155, allocations: 224.7 kB / 1.193 GB, free: 8.906 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/1.155, allocations: 7.984 kB / 1.193 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.155, allocations: 38.56 kB / 1.193 GB, free: 8.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 3.106e-06/1.155, allocations: 0 / 1.193 GB, free: 8.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.007554/1.163, allocations: 2.019 MB / 1.195 GB, free: 6.789 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.163, allocations: 55.41 kB / 1.195 GB, free: 6.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/1.164, allocations: 0.5665 MB / 1.196 GB, free: 6.148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/1.164, allocations: 37.7 kB / 1.196 GB, free: 6.105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/1.164, allocations: 360.1 kB / 1.196 GB, free: 5.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/1.164, allocations: 149.8 kB / 1.196 GB, free: 5.602 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/1.164, allocations: 90.16 kB / 1.196 GB, free: 5.508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.165, allocations: 374.8 kB / 1.197 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007251/1.165, allocations: 258.9 kB / 1.197 GB, free: 4.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007619/1.166, allocations: 361.8 kB / 1.197 GB, free: 4.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/1.168, allocations: 0.6264 MB / 1.198 GB, free: 3.809 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.168, allocations: 0 / 1.198 GB, free: 3.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002588/1.17, allocations: 0.9274 MB / 1.199 GB, free: 2.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.17, allocations: 12 kB / 1.199 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.17, allocations: 4 kB / 1.199 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.171, allocations: 276.8 kB / 1.199 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/1.172, allocations: 115.8 kB / 1.199 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008501/1.181, allocations: 9.097 MB / 1.208 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008043/1.181, allocations: 43.98 kB / 1.208 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/1.182, allocations: 20.06 kB / 1.208 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001019/1.183, allocations: 440.9 kB / 1.209 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007856/1.183, allocations: 357.4 kB / 1.209 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001488/1.185, allocations: 0.6129 MB / 1.209 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/1.185, allocations: 4 kB / 1.209 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002746/1.188, allocations: 1.113 MB / 1.211 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.188, allocations: 7.938 kB / 1.211 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.188, allocations: 11.94 kB / 1.211 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/1.189, allocations: 221.2 kB / 1.211 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/1.189, allocations: 123.8 kB / 1.211 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007991/1.197, allocations: 8.795 MB / 1.22 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/1.198, allocations: 43.98 kB / 1.22 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/1.198, allocations: 19.98 kB / 1.22 GB, free: 11.7 MB / 0.9512 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.0003353/1.199, allocations: 218.3 kB / 1.22 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/1.199, allocations: 75.12 kB / 1.22 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/1.199, allocations: 78.38 kB / 1.22 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/1.199, allocations: 3.984 kB / 1.22 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.199, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/1.2, allocations: 184.2 kB / 1.22 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.2, allocations: 8 kB / 1.22 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005958/1.2, allocations: 35.95 kB / 1.22 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/1.201, allocations: 43.92 kB / 1.22 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002887/1.203, allocations: 0.9307 MB / 1.221 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002493/1.206, allocations: 1.043 MB / 1.222 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007187/1.207, allocations: 267.8 kB / 1.222 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006262/1.207, allocations: 411.1 kB / 1.223 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of Backend: time 5.91e-07/1.207, allocations: 0 / 1.223 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004565/1.212, allocations: 2.32 MB / 1.225 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of SimCode: time 0.003203/1.215, allocations: 1.906 MB / 1.227 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.02964/1.245, allocations: 16.39 MB / 1.243 GB, free: 3.68 MB / 0.9669 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/jenkins1/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