Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 108.2 kB / 16.37 MB, free: 5.984 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.001293/0.001293, allocations: 194 kB / 17.31 MB, free: 5.602 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.22 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01746/0.37, allocations: 14.78 MB / 1.041 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.3859, allocations: 10.35 MB / 1.051 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.3878, allocations: 59.62 kB / 1.051 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005131/0.3931, allocations: 1.695 MB / 1.053 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007343/0.4005, allocations: 1.822 MB / 1.055 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.4032, allocations: 0.7521 MB / 1.056 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004839/0.4081, allocations: 2.742 MB / 1.058 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.4103, allocations: 1.423 MB / 1.06 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.413, allocations: 1.496 MB / 1.061 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.4149, allocations: 1.171 MB / 1.062 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.4152, allocations: 164 kB / 1.062 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.4167, allocations: 0.7758 MB / 1.063 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006113/0.4174, allocations: 0.6115 MB / 1.064 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.4183, allocations: 0.9522 MB / 1.065 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.4214, allocations: 2.757 MB / 1.067 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4214, allocations: 0 / 1.067 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.564e-06/0.4214, allocations: 4 kB / 1.067 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.176e-05/0.4215, allocations: 0 / 1.067 GB, free: 8.344 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003927/0.4254, allocations: 2.17 MB / 1.069 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4255, allocations: 12.03 kB / 1.069 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.4366, allocations: 2.108 MB / 1.072 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.4403, allocations: 1.307 MB / 1.073 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.43e-05/0.4404, allocations: 86.69 kB / 1.073 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000512/0.4409, allocations: 120.1 kB / 1.073 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6017/1.043, allocations: 2.667 MB / 1.076 GB, free: 52.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.077e-05/1.043, allocations: 11.19 kB / 1.076 GB, free: 52.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/1.043, allocations: 54.3 kB / 1.076 GB, free: 52.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007877/1.044, allocations: 191.8 kB / 1.076 GB, free: 52.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008585/1.052, allocations: 2.793 MB / 1.079 GB, free: 52.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/1.071, allocations: 10.45 MB / 1.089 GB, free: 45.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007283/1.078, allocations: 2.337 MB / 1.091 GB, free: 44.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00336/1.081, allocations: 1.277 MB / 1.092 GB, free: 44.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/1.081, allocations: 9.594 kB / 1.092 GB, free: 44.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.081, allocations: 47.58 kB / 1.092 GB, free: 44.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 4.128e-06/1.081, allocations: 1.219 kB / 1.092 GB, free: 44.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.06063/1.142, allocations: 16.49 MB / 1.108 GB, free: 40.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/1.142, allocations: 68.78 kB / 1.109 GB, free: 40.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/1.144, allocations: 1.172 MB / 1.11 GB, free: 39.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003487/1.145, allocations: 54.83 kB / 1.11 GB, free: 39.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000454/1.145, allocations: 0.7526 MB / 1.11 GB, free: 39.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/1.146, allocations: 0.5112 MB / 1.111 GB, free: 38.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006017/1.146, allocations: 287.4 kB / 1.111 GB, free: 38.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/1.146, allocations: 307.2 kB / 1.112 GB, free: 38.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/1.15, allocations: 1.511 MB / 1.113 GB, free: 37.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003464/1.153, allocations: 1.776 MB / 1.115 GB, free: 36.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007364/1.16, allocations: 3.365 MB / 1.118 GB, free: 34.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.16, allocations: 5.938 kB / 1.118 GB, free: 34.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01417/1.175, allocations: 5.275 MB / 1.123 GB, free: 31.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/1.175, allocations: 8.031 kB / 1.123 GB, free: 31.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.175, allocations: 11.47 kB / 1.123 GB, free: 31.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007112/1.182, allocations: 1.882 MB / 1.125 GB, free: 30.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/1.184, allocations: 408.9 kB / 1.125 GB, free: 30.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02611/1.21, allocations: 24.14 MB / 1.149 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/1.213, allocations: 313 kB / 1.149 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/1.213, allocations: 69.5 kB / 1.149 GB, free: 11.29 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009496/1.214, allocations: 468 kB / 1.15 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/1.215, allocations: 172.1 kB / 1.15 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.226, allocations: 5.312 MB / 1.155 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.227, allocations: 20 kB / 1.155 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.295e-05/1.227, allocations: 20 kB / 1.155 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.227, allocations: 10.83 kB / 1.155 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.243, allocations: 7.423 MB / 1.162 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.243, allocations: 4 kB / 1.162 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.244, allocations: 351.4 kB / 1.163 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00621/1.251, allocations: 1.708 MB / 1.164 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/1.251, allocations: 51.89 kB / 1.165 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02948/1.28, allocations: 23.3 MB / 1.187 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.28, allocations: 7.938 kB / 1.187 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.293, allocations: 4.891 MB / 1.192 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.294, allocations: 498.8 kB / 1.193 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/1.295, allocations: 24 kB / 1.193 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.297, allocations: 323.5 kB / 1.193 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005851/1.297, allocations: 152.9 kB / 1.193 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/1.297, allocations: 51.97 kB / 1.193 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001119/1.298, allocations: 0.7899 MB / 1.194 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.443e-06/1.299, allocations: 4 kB / 1.194 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002133/1.301, allocations: 0.6601 MB / 1.194 GB, free: 12.4 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003117/1.301, allocations: 142.9 kB / 1.195 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.313, allocations: 5.142 MB / 1.2 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.313, allocations: 4 kB / 1.2 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00774/1.321, allocations: 3.361 MB / 1.203 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/1.323, allocations: 0.5557 MB / 1.203 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009049/1.333, allocations: 4.284 MB / 1.208 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/1.334, allocations: 1.567 MB / 1.209 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001443/1.335, allocations: 386.4 kB / 1.21 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/1.336, allocations: 107.4 kB / 1.21 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of SimCode: time 9.62e-07/1.336, allocations: 0 / 1.21 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.07716/1.413, allocations: 44.86 MB / 1.253 GB, free: 236 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches