Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.0009798, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 175 kB / 16.92 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.834/2.834, allocations: 462.6 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 12.19 kB / 0.9034 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3213, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007592/0.3289, allocations: 6.383 MB / 1.066 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.3339, allocations: 3.044 MB / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.3346, allocations: 23.81 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.3352, allocations: 138.8 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.3366, allocations: 473.7 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3378, allocations: 407.3 kB / 1.07 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.3397, allocations: 1.591 MB / 1.071 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.3417, allocations: 1.01 MB / 1.072 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.3425, allocations: 390.3 kB / 1.072 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008674/0.3434, allocations: 0.4941 MB / 1.073 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.3435, allocations: 39.98 kB / 1.073 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009622/0.3445, allocations: 439.1 kB / 1.073 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.3449, allocations: 263.2 kB / 1.074 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006453/0.3456, allocations: 435.4 kB / 1.074 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3467, allocations: 0.9197 MB / 1.075 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3468, allocations: 0 / 1.075 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3468, allocations: 4 kB / 1.075 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.941e-05/0.3468, allocations: 0 / 1.075 GB, free: 4.836 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001986/0.3488, allocations: 1.005 MB / 1.076 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3489, allocations: 15.97 kB / 1.076 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.3505, allocations: 247.5 kB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.3515, allocations: 0.5568 MB / 1.077 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.3516, allocations: 45.69 kB / 1.077 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3517, allocations: 64.36 kB / 1.077 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.3533, allocations: 1.093 MB / 1.078 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3534, allocations: 11.92 kB / 1.078 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/0.3534, allocations: 24 kB / 1.078 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.3536, allocations: 81.27 kB / 1.078 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.3549, allocations: 0.7582 MB / 1.079 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005578/0.3605, allocations: 5.893 MB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.3615, allocations: 0.5572 MB / 1.085 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.3619, allocations: 326 kB / 1.085 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.362, allocations: 8.375 kB / 1.085 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.362, allocations: 39 kB / 1.085 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.362, allocations: 0 / 1.085 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003926/0.3659, allocations: 2.002 MB / 1.087 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.366, allocations: 55.84 kB / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.3667, allocations: 0.5626 MB / 1.088 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.3667, allocations: 33.7 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.367, allocations: 426.9 kB / 1.088 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.3671, allocations: 165.6 kB / 1.089 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.3672, allocations: 65.62 kB / 1.089 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3674, allocations: 382.7 kB / 1.089 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.3678, allocations: 265.9 kB / 1.089 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.3684, allocations: 497 kB / 1.09 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3694, allocations: 0.8093 MB / 1.091 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3694, allocations: 4 kB / 1.091 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001851/0.3713, allocations: 1.083 MB / 1.092 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3713, allocations: 8 kB / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3713, allocations: 12.09 kB / 1.092 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/0.3722, allocations: 279.1 kB / 1.092 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.3727, allocations: 123.8 kB / 1.092 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.3789, allocations: 6.607 MB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/0.3796, allocations: 39.97 kB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.3797, allocations: 31.98 kB / 1.098 GB, free: 11.17 MB / 0.8575 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0004202/0.3801, allocations: 253.6 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.3803, allocations: 75.09 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.3819, allocations: 0.8847 MB / 1.1 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.382, allocations: 8 kB / 1.1 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.382, allocations: 4 kB / 1.1 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.382, allocations: 0 / 1.1 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.3846, allocations: 1.728 MB / 1.101 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3846, allocations: 11.88 kB / 1.101 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.3849, allocations: 55.89 kB / 1.101 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007575/0.3856, allocations: 275.3 kB / 1.102 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.3857, allocations: 8 kB / 1.102 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/0.3918, allocations: 6.595 MB / 1.108 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3918, allocations: 0 / 1.108 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.3934, allocations: 0.9915 MB / 1.109 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.3938, allocations: 188.2 kB / 1.109 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3939, allocations: 15.94 kB / 1.109 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.3944, allocations: 27.95 kB / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3945, allocations: 43.95 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.3945, allocations: 16 kB / 1.109 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004772/0.395, allocations: 391.1 kB / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.395, allocations: 0 / 1.11 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008935/0.3959, allocations: 220 kB / 1.11 GB, free: 14.68 MB / 0.8731 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.3961, allocations: 119.2 kB / 1.11 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.3982, allocations: 1.271 MB / 1.111 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.3982, allocations: 128 / 1.111 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3995, allocations: 0.9009 MB / 1.112 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4007, allocations: 214.2 kB / 1.112 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.4034, allocations: 1.723 MB / 1.114 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.4041, allocations: 1.017 MB / 1.115 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.4043, allocations: 47.44 kB / 1.115 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of SimCode: time 1.092e-06/0.4043, allocations: 0 / 1.115 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of Templates: time 0.02745/0.4317, allocations: 20.76 MB / 1.135 GB, free: 4.492 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches