Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, 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.00097/0.00097, allocations: 178.2 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004108, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7564, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01387/0.7703, allocations: 13.42 MB / 0.9688 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.7851, allocations: 9.284 MB / 0.9779 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.7871, allocations: 51.62 kB / 0.9779 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.7884, allocations: 279.2 kB / 0.9782 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005379/0.7938, allocations: 1.408 MB / 0.9796 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.796, allocations: 0.6846 MB / 0.9802 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004735/0.8008, allocations: 3.179 MB / 0.9833 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004111/0.8049, allocations: 1.972 MB / 0.9853 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.8069, allocations: 0.8714 MB / 0.9861 GB, free: 116 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.8092, allocations: 1.062 MB / 0.9872 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.8096, allocations: 72 kB / 0.9872 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.8118, allocations: 0.8577 MB / 0.9881 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007844/0.8126, allocations: 0.51 MB / 0.9886 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.8142, allocations: 0.8486 MB / 0.9894 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.817, allocations: 2.135 MB / 0.9915 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.817, allocations: 4 kB / 0.9915 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.342e-06/0.817, allocations: 0 / 0.9915 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001155/0.8171, allocations: 0 / 0.9915 GB, free: 10.6 MB / 0.7481 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.004405/0.8215, allocations: 1.82 MB / 0.9933 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8216, allocations: 11.97 kB / 0.9933 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.834, allocations: 2.152 MB / 0.9954 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.8367, allocations: 1.197 MB / 0.9965 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.8369, allocations: 86.73 kB / 0.9966 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/0.8373, allocations: 124.1 kB / 0.9967 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006731/0.8441, allocations: 2.702 MB / 0.9994 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.89e-05/0.8442, allocations: 11.84 kB / 0.9994 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.8444, allocations: 55.98 kB / 0.9994 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006901/0.8451, allocations: 178.1 kB / 0.9996 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008505/0.8536, allocations: 2.846 MB / 1.002 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.8721, allocations: 10.57 MB / 1.013 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007326/0.8794, allocations: 2.572 MB / 1.015 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/0.8828, allocations: 1.303 MB / 1.017 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-05/0.8829, allocations: 13 kB / 1.017 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.8829, allocations: 43.64 kB / 1.017 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 2.535e-06/0.8829, allocations: 0 / 1.017 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=131): time 0.04908/0.932, allocations: 13.45 MB / 1.03 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.9321, allocations: 64.72 kB / 1.03 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.9339, allocations: 1.117 MB / 1.031 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.9341, allocations: 49.7 kB / 1.031 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/0.9348, allocations: 0.7116 MB / 1.032 GB, free: 340 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/0.9353, allocations: 457.5 kB / 1.032 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.9356, allocations: 109.7 kB / 1.032 GB, free: 15.76 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0003471/0.9359, allocations: 361.9 kB / 1.032 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003788/0.9397, allocations: 1.366 MB / 1.034 GB, free: 14.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/0.9437, allocations: 1.624 MB / 1.035 GB, free: 12.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007521/0.9512, allocations: 3.026 MB / 1.038 GB, free: 9.195 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.9512, allocations: 8 kB / 1.038 GB, free: 9.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01275/0.964, allocations: 4.482 MB / 1.043 GB, free: 4.652 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.9641, allocations: 9.25 kB / 1.043 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.9641, allocations: 12.06 kB / 1.043 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005487/0.9696, allocations: 1.427 MB / 1.044 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.9719, allocations: 447.3 kB / 1.045 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02685/0.9987, allocations: 24.57 MB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.002, allocations: 315.6 kB / 1.069 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/1.002, allocations: 63.97 kB / 1.069 GB, free: 8.035 MB / 0.8262 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009896/1.003, allocations: 451.8 kB / 1.069 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/1.003, allocations: 162 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/1.016, allocations: 4.492 MB / 1.074 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.016, allocations: 12 kB / 1.074 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/1.016, allocations: 16 kB / 1.074 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/1.016, allocations: 11.97 kB / 1.074 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.033, allocations: 6.836 MB / 1.081 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.033, allocations: 4 kB / 1.081 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.035, allocations: 391.3 kB / 1.081 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/1.041, allocations: 1.307 MB / 1.082 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002409/1.041, allocations: 39.97 kB / 1.082 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02663/1.068, allocations: 23.54 MB / 1.105 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.068, allocations: 8.094 kB / 1.105 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.08, allocations: 4.239 MB / 1.109 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.081, allocations: 463 kB / 1.11 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004946/1.082, allocations: 27.94 kB / 1.11 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.084, allocations: 315.5 kB / 1.11 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000521/1.085, allocations: 132.6 kB / 1.11 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.085, allocations: 47.97 kB / 1.11 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001405/1.087, allocations: 0.7526 MB / 1.111 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.087, allocations: 0 / 1.111 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002752/1.089, allocations: 0.5742 MB / 1.112 GB, free: 10.13 MB / 0.8731 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004128/1.09, allocations: 153 kB / 1.112 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.102, allocations: 5.131 MB / 1.117 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.102, allocations: 0 / 1.117 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007827/1.11, allocations: 3.515 MB / 1.12 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/1.114, allocations: 0.502 MB / 1.121 GB, free: 500 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.125, allocations: 4.799 MB / 1.125 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/1.127, allocations: 1.481 MB / 1.127 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.128, allocations: 131.3 kB / 1.127 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of SimCode: time 3.035e-06/1.128, allocations: 0 / 1.127 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of Templates: time 0.1231/1.251, allocations: 112.3 MB / 1.237 GB, free: 9.723 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches