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.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_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.001029/0.001029, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001314/0.001315, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.426 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.456/2.456, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8144, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006514/0.821, allocations: 5.46 MB / 0.9598 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005006/0.826, allocations: 2.993 MB / 0.9627 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000788/0.8268, allocations: 24.59 kB / 0.9627 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.8274, allocations: 118.8 kB / 0.9628 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.8288, allocations: 379.4 kB / 0.9632 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.8301, allocations: 370.1 kB / 0.9635 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.8319, allocations: 1.221 MB / 0.9647 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.8338, allocations: 0.9017 MB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/0.8347, allocations: 368.1 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.8358, allocations: 440.5 kB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.8361, allocations: 34.56 kB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.8373, allocations: 251.9 kB / 0.9667 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.8376, allocations: 248.1 kB / 0.9669 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.8379, allocations: 162.6 kB / 0.9671 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.839, allocations: 0.8772 MB / 0.9679 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8391, allocations: 7.875 kB / 0.9679 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8391, allocations: 4.75 kB / 0.9679 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.8391, allocations: 0 / 0.9679 GB, free: 13.82 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.001582/0.8407, allocations: 0.917 MB / 0.9688 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8407, allocations: 9.688 kB / 0.9688 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.8423, allocations: 221.1 kB / 0.969 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008405/0.8432, allocations: 0.5188 MB / 0.9695 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.8432, allocations: 54.86 kB / 0.9696 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.8433, allocations: 64.8 kB / 0.9697 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.845, allocations: 1.024 MB / 0.9707 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.845, allocations: 4.094 kB / 0.9707 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.8451, allocations: 28.3 kB / 0.9707 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.8452, allocations: 83 kB / 0.9708 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.8465, allocations: 0.6853 MB / 0.9714 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/0.852, allocations: 5.768 MB / 0.9771 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008803/0.8529, allocations: 0.5929 MB / 0.9776 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008101/0.8538, allocations: 420.1 kB / 0.9781 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.8538, allocations: 7.891 kB / 0.9781 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.8539, allocations: 36.62 kB / 0.9781 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 3.266e-06/0.8539, allocations: 0 / 0.9781 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004622/0.8585, allocations: 2.057 MB / 0.9801 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.8586, allocations: 55.69 kB / 0.9802 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.8591, allocations: 458.4 kB / 0.9806 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.8592, allocations: 34.7 kB / 0.9806 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.8595, allocations: 385.6 kB / 0.981 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.8596, allocations: 157.5 kB / 0.9811 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.8597, allocations: 15 kB / 0.9812 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.8598, allocations: 367.9 kB / 0.9815 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.8602, allocations: 241.8 kB / 0.9817 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.8608, allocations: 453.6 kB / 0.9822 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.8613, allocations: 315.8 kB / 0.9825 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8613, allocations: 0 / 0.9825 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00171/0.863, allocations: 1.054 MB / 0.9835 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.863, allocations: 12.86 kB / 0.9835 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.8631, allocations: 8 kB / 0.9835 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009452/0.864, allocations: 339 kB / 0.9838 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.8643, allocations: 95.83 kB / 0.9839 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.8717, allocations: 6.944 MB / 0.9907 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.8724, allocations: 32.03 kB / 0.9907 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.8724, allocations: 27.98 kB / 0.9908 GB, free: 8.777 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005359/0.873, allocations: 241.9 kB / 0.991 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.8731, allocations: 55.34 kB / 0.9911 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.8749, allocations: 0.9199 MB / 0.992 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8749, allocations: 4 kB / 0.992 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.8749, allocations: 7.953 kB / 0.992 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8749, allocations: 0 / 0.992 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.8777, allocations: 1.708 MB / 0.9936 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8777, allocations: 4.094 kB / 0.9936 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.8779, allocations: 35.97 kB / 0.9937 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008686/0.8788, allocations: 335.4 kB / 0.994 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.8788, allocations: 8 kB / 0.994 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006028/0.8848, allocations: 6.917 MB / 1.001 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.8849, allocations: 11.97 kB / 1.001 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.8864, allocations: 1.011 MB / 1.002 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.8867, allocations: 168.4 kB / 1.002 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.8868, allocations: 11.98 kB / 1.002 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.887, allocations: 23.98 kB / 1.002 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.8871, allocations: 35.94 kB / 1.002 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.8872, allocations: 20 kB / 1.002 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003196/0.8875, allocations: 302.9 kB / 1.002 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8875, allocations: 4 kB / 1.002 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000841/0.8884, allocations: 192 kB / 1.002 GB, free: 12.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.8885, allocations: 123.1 kB / 1.003 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.8902, allocations: 1.211 MB / 1.004 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8903, allocations: 0 / 1.004 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.8913, allocations: 0.8696 MB / 1.005 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.8923, allocations: 186.6 kB / 1.005 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.8943, allocations: 1.477 MB / 1.006 GB, free: 8.043 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.8949, allocations: 0.9921 MB / 1.007 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.8952, allocations: 97.19 kB / 1.007 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.8953, allocations: 35.44 kB / 1.007 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of SimCode: time 3.5e-07/0.8953, allocations: 0 / 1.007 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of Templates: time 0.01533/0.9106, allocations: 9.204 MB / 1.016 GB, free: 13.78 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