Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001337/0.001337, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.00123/0.00123, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.556/2.556, allocations: 469.8 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 59.41 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3062, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007861/0.3141, allocations: 6.167 MB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.3189, allocations: 3.153 MB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.3192, allocations: 27.81 kB / 1.073 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.3214, allocations: 0.8837 MB / 1.074 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009191/0.3224, allocations: 430 kB / 1.075 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3234, allocations: 470.6 kB / 1.075 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.3245, allocations: 1.096 MB / 1.076 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/0.3255, allocations: 0.7171 MB / 1.077 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.3261, allocations: 438.3 kB / 1.077 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005606/0.3267, allocations: 498.1 kB / 1.078 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.32e-05/0.3268, allocations: 60 kB / 1.078 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007679/0.3275, allocations: 491 kB / 1.078 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.3278, allocations: 287.2 kB / 1.078 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.3282, allocations: 405.9 kB / 1.079 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.4972/0.8254, allocations: 0.9058 MB / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8255, allocations: 0.5312 kB / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8255, allocations: 0.6562 kB / 1.08 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.8255, allocations: 0 / 1.08 GB, free: 12.64 MB / 0.8419 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.001575/0.8271, allocations: 1.062 MB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.8271, allocations: 8.906 kB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.8286, allocations: 219.2 kB / 1.081 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.8293, allocations: 0.5447 MB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.8294, allocations: 47.06 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.8295, allocations: 58.61 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.8309, allocations: 1.034 MB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.8309, allocations: 14.7 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.831, allocations: 30.12 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-05/0.8311, allocations: 66.67 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.8321, allocations: 0.6944 MB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.8361, allocations: 5.747 MB / 1.089 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007841/0.8369, allocations: 0.6017 MB / 1.09 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.8376, allocations: 419 kB / 1.09 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.8377, allocations: 4.406 kB / 1.09 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.8377, allocations: 40.5 kB / 1.09 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.625e-06/0.8377, allocations: 0 / 1.09 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004138/0.8419, allocations: 2.063 MB / 1.092 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.8419, allocations: 58.91 kB / 1.092 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.8424, allocations: 468.3 kB / 1.093 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.8424, allocations: 33.14 kB / 1.093 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.8426, allocations: 388.2 kB / 1.093 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.8427, allocations: 149.8 kB / 1.093 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.8429, allocations: 113.8 kB / 1.093 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.843, allocations: 364.7 kB / 1.094 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.8433, allocations: 245.1 kB / 1.094 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.8438, allocations: 459.7 kB / 1.094 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/0.8447, allocations: 0.7558 MB / 1.095 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.8447, allocations: 5.406 kB / 1.095 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001935/0.8466, allocations: 1.059 MB / 1.096 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.8466, allocations: 12.77 kB / 1.096 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.8467, allocations: 10.91 kB / 1.096 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.8477, allocations: 328.5 kB / 1.096 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.8481, allocations: 92.38 kB / 1.096 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/0.8547, allocations: 7.525 MB / 1.104 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.8552, allocations: 29.52 kB / 1.104 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.8553, allocations: 26.02 kB / 1.104 GB, free: 13.37 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.0004124/0.8557, allocations: 239 kB / 1.104 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.8558, allocations: 65.56 kB / 1.104 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.8576, allocations: 0.9202 MB / 1.105 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.8576, allocations: 4.531 kB / 1.105 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8576, allocations: 4.062 kB / 1.105 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.8577, allocations: 3.141 kB / 1.105 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.8605, allocations: 1.718 MB / 1.107 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8605, allocations: 1.656 kB / 1.107 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.8607, allocations: 42.38 kB / 1.107 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009835/0.8617, allocations: 324.4 kB / 1.107 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.8618, allocations: 16.39 kB / 1.107 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00775/0.8695, allocations: 7.505 MB / 1.114 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8695, allocations: 6.094 kB / 1.114 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.8714, allocations: 1.009 MB / 1.115 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.8716, allocations: 170.2 kB / 1.116 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.8717, allocations: 9.844 kB / 1.116 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.872, allocations: 22.92 kB / 1.116 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.8721, allocations: 38.36 kB / 1.116 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.8721, allocations: 18.33 kB / 1.116 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000368/0.8725, allocations: 315.1 kB / 1.116 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.222e-06/0.8725, allocations: 0 / 1.116 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008039/0.8733, allocations: 197.9 kB / 1.116 GB, free: 4.652 MB / 0.8575 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.0001586/0.8735, allocations: 115.2 kB / 1.116 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001969/0.8755, allocations: 1.26 MB / 1.117 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8755, allocations: 0.875 kB / 1.117 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.8767, allocations: 0.8595 MB / 1.118 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/0.8777, allocations: 201.2 kB / 1.119 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.8799, allocations: 1.598 MB / 1.12 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007115/0.8806, allocations: 0.9955 MB / 1.121 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.8807, allocations: 43.39 kB / 1.121 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.8807, allocations: 0 / 1.121 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of Templates: time 0.02263/0.9034, allocations: 18.66 MB / 1.139 GB, free: 12.53 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches