Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 116.2 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.001182/0.001182, 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.17 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.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8903, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006752/0.8971, allocations: 5.538 MB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004553/0.9017, allocations: 2.643 MB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.9024, allocations: 24.72 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.9045, allocations: 0.6723 MB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.9058, allocations: 429.9 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.9072, allocations: 415.8 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.9087, allocations: 0.958 MB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.9095, allocations: 472 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005878/0.9101, allocations: 384.1 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.9107, allocations: 398 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.9108, allocations: 47.88 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009032/0.9117, allocations: 356.4 kB / 1.101 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.9121, allocations: 255.7 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.9125, allocations: 349.3 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.9141, allocations: 0.9742 MB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9141, allocations: 3.938 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9141, allocations: 4.812 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.9141, allocations: 0 / 1.102 GB, free: 13.36 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001937/0.9161, allocations: 0.9748 MB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9161, allocations: 9.125 kB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.9177, allocations: 194.2 kB / 1.103 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.9187, allocations: 0.5226 MB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.9188, allocations: 37.34 kB / 1.104 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.919, allocations: 60.06 kB / 1.104 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.9204, allocations: 0.839 MB / 1.105 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.9204, allocations: 7.406 kB / 1.105 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.9205, allocations: 23.38 kB / 1.105 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.9207, allocations: 64.16 kB / 1.105 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.9218, allocations: 0.5725 MB / 1.105 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.9271, allocations: 4.579 MB / 1.11 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.9277, allocations: 290.1 kB / 1.11 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.9281, allocations: 227.1 kB / 1.11 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.9281, allocations: 4.125 kB / 1.11 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.9282, allocations: 37.91 kB / 1.11 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.9282, allocations: 3.938 kB / 1.11 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.006099/0.9343, allocations: 2.626 MB / 1.113 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.9343, allocations: 56.34 kB / 1.113 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.9349, allocations: 465.4 kB / 1.113 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.935, allocations: 32.05 kB / 1.113 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.9353, allocations: 341.4 kB / 1.114 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.9354, allocations: 141.5 kB / 1.114 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.9356, allocations: 102.1 kB / 1.114 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9359, allocations: 372.1 kB / 1.114 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.9363, allocations: 235.5 kB / 1.115 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.9369, allocations: 405 kB / 1.115 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.938, allocations: 0.6808 MB / 1.116 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.938, allocations: 4.938 kB / 1.116 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001866/0.9399, allocations: 0.9163 MB / 1.117 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9399, allocations: 7.344 kB / 1.117 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.9399, allocations: 5.188 kB / 1.117 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008446/0.9408, allocations: 228.5 kB / 1.117 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.9413, allocations: 120.3 kB / 1.117 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006041/0.9473, allocations: 5.334 MB / 1.122 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.9479, allocations: 29.98 kB / 1.122 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.948, allocations: 23.39 kB / 1.122 GB, free: 14.89 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003802/0.9483, allocations: 226.1 kB / 1.122 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.9485, allocations: 59.5 kB / 1.122 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.9502, allocations: 0.7778 MB / 1.123 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.9502, allocations: 6.547 kB / 1.123 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.9502, allocations: 1.922 kB / 1.123 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.9505, allocations: 173.2 kB / 1.123 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.9506, allocations: 8.297 kB / 1.123 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.9509, allocations: 24.19 kB / 1.123 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.951, allocations: 32.66 kB / 1.123 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002163/0.9532, allocations: 0.8584 MB / 1.124 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001333/0.9546, allocations: 0.9652 MB / 1.125 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003882/0.955, allocations: 239.3 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004369/0.9554, allocations: 315.9 kB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of Backend: time 6.91e-07/0.9554, allocations: 4 kB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002512/0.9579, allocations: 1.072 MB / 1.127 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002683/0.9606, allocations: 1.787 MB / 1.129 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of Templates: time 0.02568/0.9863, allocations: 11.1 MB / 1.139 GB, free: 10.03 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches