Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_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_9_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_9_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.001294/0.001294, allocations: 108 kB / 15.61 MB, free: 152 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.002538/0.002538, allocations: 190.5 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7738, allocations: 140.4 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00774/0.7816, allocations: 6.15 MB / 0.9556 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006188/0.7878, allocations: 3.177 MB / 0.9587 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.7891, allocations: 28.66 kB / 0.9587 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.792, allocations: 0.9249 MB / 0.9596 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.7937, allocations: 470.7 kB / 0.9601 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.7951, allocations: 0.5049 MB / 0.9606 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.7967, allocations: 1.11 MB / 0.9617 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.7979, allocations: 0.6389 MB / 0.9623 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.7986, allocations: 435 kB / 0.9627 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/0.7992, allocations: 474.1 kB / 0.9631 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.7994, allocations: 58.19 kB / 0.9632 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.8005, allocations: 483.5 kB / 0.9637 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.8008, allocations: 289.3 kB / 0.9639 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.8013, allocations: 412 kB / 0.9643 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.8032, allocations: 1.163 MB / 0.9655 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.8032, allocations: 0 / 0.9655 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8032, allocations: 1.031 kB / 0.9655 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.8033, allocations: 0 / 0.9655 GB, free: 13.54 MB / 0.7325 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.002094/0.8054, allocations: 1.062 MB / 0.9665 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8054, allocations: 9.219 kB / 0.9665 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.8072, allocations: 213.7 kB / 0.9667 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009148/0.8081, allocations: 0.5438 MB / 0.9673 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.8082, allocations: 50.17 kB / 0.9673 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.8083, allocations: 64.39 kB / 0.9674 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.81, allocations: 1.034 MB / 0.9684 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.81, allocations: 7.875 kB / 0.9684 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.8101, allocations: 25.53 kB / 0.9684 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.8102, allocations: 69.92 kB / 0.9685 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.8113, allocations: 0.6911 MB / 0.9691 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005806/0.8172, allocations: 5.755 MB / 0.9748 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009746/0.8182, allocations: 0.6069 MB / 0.9754 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/0.819, allocations: 429.3 kB / 0.9758 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.8191, allocations: 4.531 kB / 0.9758 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.8191, allocations: 37.19 kB / 0.9758 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.755e-06/0.8191, allocations: 4 kB / 0.9758 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004896/0.824, allocations: 2.057 MB / 0.9778 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.8241, allocations: 54.84 kB / 0.9779 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.8247, allocations: 470.3 kB / 0.9783 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.8248, allocations: 32.23 kB / 0.9784 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.8251, allocations: 381.1 kB / 0.9787 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.8252, allocations: 154.2 kB / 0.9789 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.8254, allocations: 108 kB / 0.979 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.8256, allocations: 367.6 kB / 0.9793 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.826, allocations: 244.7 kB / 0.9795 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.8266, allocations: 455.4 kB / 0.98 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.8276, allocations: 0.7544 MB / 0.9807 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8276, allocations: 4 kB / 0.9807 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001919/0.8295, allocations: 1.062 MB / 0.9818 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.8295, allocations: 11.98 kB / 0.9818 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.8296, allocations: 11.94 kB / 0.9818 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.8307, allocations: 339.4 kB / 0.9821 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.831, allocations: 91.83 kB / 0.9822 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.8382, allocations: 7.513 MB / 0.9895 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.8388, allocations: 32.06 kB / 0.9896 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.8389, allocations: 24.19 kB / 0.9896 GB, free: 7.316 MB / 0.7481 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.0004409/0.8393, allocations: 249.5 kB / 0.9898 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/0.8394, allocations: 63.27 kB / 0.9899 GB, free: 7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.8411, allocations: 0.9194 MB / 0.9908 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8411, allocations: 8 kB / 0.9908 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8412, allocations: 8 kB / 0.9908 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.8412, allocations: 3.984 kB / 0.9908 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.8438, allocations: 1.704 MB / 0.9925 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8439, allocations: 0 / 0.9925 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.844, allocations: 44.19 kB / 0.9925 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009304/0.845, allocations: 327.1 kB / 0.9928 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.845, allocations: 12 kB / 0.9928 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.8519, allocations: 7.505 MB / 1 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.852, allocations: 3.938 kB / 1 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.8537, allocations: 1.022 MB / 1.001 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.854, allocations: 172.4 kB / 1.001 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.8541, allocations: 8 kB / 1.001 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.8544, allocations: 27.97 kB / 1.001 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.8545, allocations: 39.89 kB / 1.001 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.8545, allocations: 12 kB / 1.001 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003402/0.8549, allocations: 310.9 kB / 1.002 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8549, allocations: 0 / 1.002 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008228/0.8557, allocations: 199.9 kB / 1.002 GB, free: 9.949 MB / 0.7637 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.0001528/0.8559, allocations: 115.5 kB / 1.002 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.8578, allocations: 1.238 MB / 1.003 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8579, allocations: 4.062 kB / 1.003 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.859, allocations: 0.8695 MB / 1.004 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.8601, allocations: 196 kB / 1.004 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.862, allocations: 1.249 MB / 1.005 GB, free: 6.137 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.8626, allocations: 0.9921 MB / 1.006 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.8629, allocations: 101.3 kB / 1.007 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.863, allocations: 39.42 kB / 1.007 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of SimCode: time 8.21e-07/0.863, allocations: 4 kB / 1.007 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of Templates: time 0.01666/0.8797, allocations: 9.97 MB / 1.016 GB, free: 11.1 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches