Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ACLine_L,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.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 117 kB / 16.37 MB, free: 6.012 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.001842/0.001842, allocations: 192 kB / 17.31 MB, free: 5.613 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.67 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3676, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008105/0.3757, allocations: 6.16 MB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005363/0.3811, allocations: 3.172 MB / 1.036 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006502/0.3818, allocations: 31.75 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.3843, allocations: 0.9415 MB / 1.037 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.3858, allocations: 469.5 kB / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3872, allocations: 0.4983 MB / 1.038 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3886, allocations: 1.104 MB / 1.039 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009625/0.3896, allocations: 0.6427 MB / 1.039 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.3902, allocations: 430.4 kB / 1.04 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.3908, allocations: 474.2 kB / 1.04 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.679e-05/0.3909, allocations: 60 kB / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008678/0.3918, allocations: 487 kB / 1.041 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.3921, allocations: 287.2 kB / 1.041 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.3925, allocations: 409.9 kB / 1.041 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.3938, allocations: 1.176 MB / 1.043 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3938, allocations: 0 / 1.043 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3938, allocations: 0 / 1.043 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.3938, allocations: 0 / 1.043 GB, free: 1.684 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001601/0.3954, allocations: 1.065 MB / 1.044 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3955, allocations: 8.031 kB / 1.044 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.397, allocations: 219.6 kB / 1.044 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3981, allocations: 0.5922 MB / 1.044 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.3981, allocations: 49.67 kB / 1.045 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.3982, allocations: 60.36 kB / 1.045 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3996, allocations: 1.038 MB / 1.046 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.3997, allocations: 11.84 kB / 1.046 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.3997, allocations: 24 kB / 1.046 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.816e-05/0.3998, allocations: 69.27 kB / 1.046 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/0.4008, allocations: 0.6996 MB / 1.046 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/0.406, allocations: 5.729 MB / 1.052 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/0.4069, allocations: 0.5966 MB / 1.053 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007515/0.4076, allocations: 432.6 kB / 1.053 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.4077, allocations: 4 kB / 1.053 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4077, allocations: 38.56 kB / 1.053 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 5.37e-06/0.4077, allocations: 0 / 1.053 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42): time 0.004748/0.4125, allocations: 2.056 MB / 1.055 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.4126, allocations: 59.39 kB / 1.055 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.4131, allocations: 462.8 kB / 1.056 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4132, allocations: 29.7 kB / 1.056 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.4135, allocations: 391 kB / 1.056 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.4136, allocations: 157.9 kB / 1.056 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.4138, allocations: 114.2 kB / 1.056 GB, free: 3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.414, allocations: 362.8 kB / 1.057 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.4143, allocations: 249.1 kB / 1.057 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.4148, allocations: 453 kB / 1.057 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.4158, allocations: 0.7563 MB / 1.058 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4158, allocations: 4 kB / 1.058 GB, free: 1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001872/0.4177, allocations: 1.065 MB / 1.059 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.4177, allocations: 11.98 kB / 1.059 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4177, allocations: 8 kB / 1.059 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.4188, allocations: 327.9 kB / 1.059 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.4191, allocations: 91.83 kB / 1.059 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/0.4268, allocations: 7.52 MB / 1.067 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.4274, allocations: 27.98 kB / 1.067 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.4274, allocations: 24 kB / 1.067 GB, free: 7.332 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004311/0.4279, allocations: 253.5 kB / 1.067 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.428, allocations: 67.17 kB / 1.067 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.4299, allocations: 0.9121 MB / 1.068 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4299, allocations: 4 kB / 1.068 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4299, allocations: 8.188 kB / 1.068 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4299, allocations: 3.984 kB / 1.068 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.4327, allocations: 1.716 MB / 1.07 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4327, allocations: 0 / 1.07 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4329, allocations: 43.91 kB / 1.07 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000972/0.4339, allocations: 323.1 kB / 1.07 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.4339, allocations: 12 kB / 1.07 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6/1.034, allocations: 7.497 MB / 1.077 GB, free: 50.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.034, allocations: 1.812 kB / 1.077 GB, free: 50.37 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/1.036, allocations: 1.009 MB / 1.078 GB, free: 50.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/1.036, allocations: 173.9 kB / 1.079 GB, free: 50.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/1.036, allocations: 11.23 kB / 1.079 GB, free: 50.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/1.037, allocations: 20.28 kB / 1.079 GB, free: 50.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.037, allocations: 48.23 kB / 1.079 GB, free: 50.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/1.037, allocations: 14.03 kB / 1.079 GB, free: 50.06 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004875/1.037, allocations: 310.6 kB / 1.079 GB, free: 49.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.037, allocations: 3.031 kB / 1.079 GB, free: 49.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001036/1.038, allocations: 195.9 kB / 1.079 GB, free: 49.96 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002048/1.039, allocations: 112.3 kB / 1.079 GB, free: 49.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00202/1.041, allocations: 1.201 MB / 1.08 GB, free: 49.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.041, allocations: 0 / 1.08 GB, free: 49.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/1.042, allocations: 0.8615 MB / 1.081 GB, free: 48.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/1.043, allocations: 201.1 kB / 1.081 GB, free: 48.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/1.045, allocations: 1.25 MB / 1.083 GB, free: 47.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008363/1.046, allocations: 0.9973 MB / 1.084 GB, free: 47.19 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003502/1.046, allocations: 100.9 kB / 1.084 GB, free: 47.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/1.047, allocations: 38.86 kB / 1.084 GB, free: 47.17 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/1.047, allocations: 3.719 kB / 1.084 GB, free: 47.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.0282/1.075, allocations: 9.962 MB / 1.093 GB, free: 46.66 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches