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.001284/0.001284, allocations: 112.6 kB / 16.37 MB, free: 6 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.001161/0.001161, allocations: 196 kB / 17.31 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.44/2.44, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.36 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008589/0.3256, allocations: 6.156 MB / 0.9572 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005326/0.3309, allocations: 3.18 MB / 0.9603 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.3315, allocations: 27.81 kB / 0.9603 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.3338, allocations: 0.9259 MB / 0.9612 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.3351, allocations: 477.5 kB / 0.9616 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3364, allocations: 0.5023 MB / 0.9621 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3377, allocations: 1.1 MB / 0.9632 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008854/0.3386, allocations: 0.6388 MB / 0.9638 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.3391, allocations: 442.4 kB / 0.9643 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005436/0.3396, allocations: 478.1 kB / 0.9647 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.958e-05/0.3397, allocations: 56 kB / 0.9648 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008258/0.3406, allocations: 487 kB / 0.9652 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.3408, allocations: 291.2 kB / 0.9655 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.3412, allocations: 397.9 kB / 0.9659 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3424, allocations: 1.18 MB / 0.967 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3424, allocations: 0 / 0.967 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3424, allocations: 4 kB / 0.967 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3424, allocations: 0 / 0.967 GB, free: 7.727 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001656/0.3441, allocations: 1.052 MB / 0.9681 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3441, allocations: 16.02 kB / 0.9681 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.3456, allocations: 219.7 kB / 0.9683 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3466, allocations: 0.5921 MB / 0.9689 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.3466, allocations: 49.67 kB / 0.9689 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3467, allocations: 72.3 kB / 0.969 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3481, allocations: 1.026 MB / 0.97 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.3481, allocations: 7.938 kB / 0.97 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.3482, allocations: 31.98 kB / 0.97 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.3483, allocations: 69.27 kB / 0.9701 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.3494, allocations: 0.6918 MB / 0.9708 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.3542, allocations: 5.737 MB / 0.9764 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.3551, allocations: 0.5982 MB / 0.977 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/0.3558, allocations: 412.6 kB / 0.9774 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.3559, allocations: 11.97 kB / 0.9774 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3559, allocations: 38.56 kB / 0.9774 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.3559, allocations: 3.938 kB / 0.9774 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004217/0.3601, allocations: 2.052 MB / 0.9794 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3602, allocations: 59.41 kB / 0.9795 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.3607, allocations: 462.8 kB / 0.9799 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.3607, allocations: 33.7 kB / 0.9799 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3609, allocations: 387 kB / 0.9803 GB, free: 9.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3611, allocations: 149.9 kB / 0.9804 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.3612, allocations: 114.1 kB / 0.9806 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3614, allocations: 370.8 kB / 0.9809 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3617, allocations: 241.2 kB / 0.9811 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.3622, allocations: 457 kB / 0.9816 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.3631, allocations: 0.7597 MB / 0.9823 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3631, allocations: 4 kB / 0.9823 GB, free: 7.043 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001779/0.3649, allocations: 1.061 MB / 0.9834 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3649, allocations: 8.875 kB / 0.9834 GB, free: 5.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3649, allocations: 4 kB / 0.9834 GB, free: 5.949 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.366, allocations: 339.1 kB / 0.9837 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.3664, allocations: 91.89 kB / 0.9838 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.3734, allocations: 7.525 MB / 0.9911 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.3739, allocations: 32.16 kB / 0.9912 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.374, allocations: 32 kB / 0.9912 GB, free: 13.37 MB / 0.7794 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.0003604/0.3743, allocations: 237.6 kB / 0.9914 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.3744, allocations: 71.17 kB / 0.9915 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.3761, allocations: 0.9079 MB / 0.9924 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3761, allocations: 4 kB / 0.9924 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3762, allocations: 4 kB / 0.9924 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3762, allocations: 3.984 kB / 0.9924 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.379, allocations: 1.704 MB / 0.994 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.379, allocations: 7.984 kB / 0.9941 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.3792, allocations: 43.91 kB / 0.9941 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009599/0.3802, allocations: 323.2 kB / 0.9944 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.3802, allocations: 8 kB / 0.9944 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007197/0.3874, allocations: 7.509 MB / 1.002 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.3875, allocations: 4 kB / 1.002 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3891, allocations: 1.022 MB / 1.003 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.3894, allocations: 176.4 kB / 1.003 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.3895, allocations: 11.94 kB / 1.003 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.3899, allocations: 15.98 kB / 1.003 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.39, allocations: 47.94 kB / 1.003 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.39, allocations: 12 kB / 1.003 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003245/0.3903, allocations: 314.9 kB / 1.003 GB, free: 212 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3903, allocations: 0 / 1.003 GB, free: 212 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007879/0.3911, allocations: 195.9 kB / 1.003 GB, free: 16 kB / 0.7794 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.0001808/0.3913, allocations: 111.2 kB / 1.004 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.3933, allocations: 1.199 MB / 1.005 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3933, allocations: 0 / 1.005 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3946, allocations: 0.8696 MB / 1.006 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.3955, allocations: 203.9 kB / 1.006 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3984, allocations: 1.236 MB / 1.007 GB, free: 12.26 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.3992, allocations: 0.9921 MB / 1.008 GB, free: 11.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.3995, allocations: 101.2 kB / 1.008 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.3996, allocations: 35.44 kB / 1.008 GB, free: 11.1 MB / 0.795 GB Notification: Performance of SimCode: time 1.192e-06/0.3996, allocations: 0 / 1.008 GB, free: 11.1 MB / 0.795 GB Notification: Performance of Templates: time 0.01942/0.419, allocations: 9.967 MB / 1.018 GB, free: 1.234 MB / 0.795 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 -s gbode -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/jenkins1/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