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.001062/0.001063, 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.001685/0.001685, allocations: 176.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.413/1.413, 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 11.0.0-master/package.mo): time 2.816/2.816, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 9.906 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006916/0.3313, allocations: 5.756 MB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005461/0.3368, allocations: 3.149 MB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/0.3376, allocations: 27.75 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.3382, allocations: 123 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.3397, allocations: 442 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3411, allocations: 462.1 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.343, allocations: 1.467 MB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.3451, allocations: 0.9844 MB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.3458, allocations: 358.4 kB / 1.072 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007096/0.3465, allocations: 454.1 kB / 1.072 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.3466, allocations: 36 kB / 1.072 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.3477, allocations: 0.573 MB / 1.073 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.3481, allocations: 259.2 kB / 1.073 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.3486, allocations: 379.7 kB / 1.073 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3498, allocations: 0.8963 MB / 1.074 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3499, allocations: 0 / 1.074 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3499, allocations: 3.938 kB / 1.074 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.368e-05/0.3499, allocations: 0 / 1.074 GB, free: 5.559 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001949/0.3519, allocations: 0.9117 MB / 1.075 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.3519, allocations: 15.97 kB / 1.075 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.3537, allocations: 215.7 kB / 1.075 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/0.3546, allocations: 0.5491 MB / 1.076 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.3547, allocations: 45.69 kB / 1.076 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3548, allocations: 64.3 kB / 1.076 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.3566, allocations: 1.038 MB / 1.077 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.3566, allocations: 7.938 kB / 1.077 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.3567, allocations: 28 kB / 1.077 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.3568, allocations: 69.27 kB / 1.077 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.358, allocations: 0.6879 MB / 1.078 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005683/0.3637, allocations: 5.76 MB / 1.083 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.3647, allocations: 0.6044 MB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/0.3655, allocations: 412.6 kB / 1.084 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.3656, allocations: 7.984 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3656, allocations: 42.55 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.495e-06/0.3656, allocations: 4 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004706/0.3704, allocations: 2.069 MB / 1.086 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3704, allocations: 59.34 kB / 1.087 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.371, allocations: 462.8 kB / 1.087 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.371, allocations: 33.7 kB / 1.087 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.3713, allocations: 391 kB / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3715, allocations: 145.9 kB / 1.088 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.3715, allocations: 53.62 kB / 1.088 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3717, allocations: 366.7 kB / 1.088 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.3721, allocations: 249.2 kB / 1.088 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004945/0.3726, allocations: 461 kB / 1.089 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.3735, allocations: 0.7439 MB / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3735, allocations: 8 kB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002088/0.3756, allocations: 1.065 MB / 1.09 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.3757, allocations: 9.25 kB / 1.09 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3757, allocations: 8 kB / 1.09 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.3769, allocations: 339.9 kB / 1.091 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.3773, allocations: 99.81 kB / 1.091 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/0.3845, allocations: 6.95 MB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.3851, allocations: 36.02 kB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.3852, allocations: 28 kB / 1.098 GB, free: 12.01 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 (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.0004618/0.3857, allocations: 247.3 kB / 1.098 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.3858, allocations: 67.19 kB / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.3878, allocations: 0.9156 MB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3878, allocations: 4 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3878, allocations: 4 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3878, allocations: 3.984 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.3908, allocations: 1.708 MB / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3908, allocations: 4 kB / 1.101 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.391, allocations: 39.91 kB / 1.101 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.3921, allocations: 327.2 kB / 1.101 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.3921, allocations: 12 kB / 1.101 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/0.3992, allocations: 6.939 MB / 1.108 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3993, allocations: 4 kB / 1.108 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.4011, allocations: 0.9991 MB / 1.109 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.4014, allocations: 180.3 kB / 1.109 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4015, allocations: 8.281 kB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.4019, allocations: 31.97 kB / 1.109 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.402, allocations: 35.89 kB / 1.109 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.402, allocations: 19.88 kB / 1.109 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003912/0.4024, allocations: 314.9 kB / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4025, allocations: 0 / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009254/0.4034, allocations: 196 kB / 1.109 GB, free: 15.24 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 (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.0001762/0.4036, allocations: 111.2 kB / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.4056, allocations: 1.208 MB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4056, allocations: 0 / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.4069, allocations: 0.8621 MB / 1.112 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.4082, allocations: 185.9 kB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.4107, allocations: 1.606 MB / 1.113 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/0.4115, allocations: 0.9921 MB / 1.114 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4117, allocations: 43.36 kB / 1.114 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/0.4117, allocations: 0 / 1.114 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.02622/0.4379, allocations: 18.57 MB / 1.132 GB, free: 7.523 MB / 0.8887 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 -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