Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 100.1 kB / 15.88 MB, free: 12 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.002102/0.002102, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 65.73 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2864, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006742/0.2932, allocations: 4.927 MB / 1.058 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004231/0.2975, allocations: 2.506 MB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006524/0.2982, allocations: 27.75 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.2995, allocations: 362.5 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.3009, allocations: 414 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.302, allocations: 366.1 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.3034, allocations: 1.132 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.3041, allocations: 355.2 kB / 1.063 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.3047, allocations: 298.6 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.3053, allocations: 354.5 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.3054, allocations: 24 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.3064, allocations: 0.4911 MB / 1.064 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.3067, allocations: 175.4 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.3071, allocations: 310.2 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009054/0.308, allocations: 0.6628 MB / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3081, allocations: 7.938 kB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3081, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.537e-05/0.3081, allocations: 0 / 1.065 GB, free: 11.93 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001862/0.31, allocations: 0.9425 MB / 1.066 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.31, allocations: 11.97 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.3114, allocations: 211.8 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008256/0.3122, allocations: 0.4943 MB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.3123, allocations: 33.36 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.3124, allocations: 40.38 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.3135, allocations: 0.8487 MB / 1.067 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.3136, allocations: 11.92 kB / 1.067 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.3136, allocations: 23.98 kB / 1.067 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.702e-05/0.3137, allocations: 64.95 kB / 1.067 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.3146, allocations: 0.5734 MB / 1.068 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.3195, allocations: 5.658 MB / 1.074 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/0.3202, allocations: 454.3 kB / 1.074 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.3206, allocations: 224.7 kB / 1.074 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.3206, allocations: 4.531 kB / 1.074 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3206, allocations: 42.5 kB / 1.074 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.3207, allocations: 0 / 1.074 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002776/0.3234, allocations: 1.505 MB / 1.076 GB, free: 60 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3235, allocations: 63.62 kB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.3241, allocations: 0.4991 MB / 1.076 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3242, allocations: 29.7 kB / 1.076 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3244, allocations: 358.8 kB / 1.077 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3245, allocations: 122.3 kB / 1.077 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3247, allocations: 110.2 kB / 1.077 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3249, allocations: 362.8 kB / 1.077 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3252, allocations: 197.2 kB / 1.077 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.3256, allocations: 451.3 kB / 1.078 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.3265, allocations: 0.6838 MB / 1.078 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3265, allocations: 4 kB / 1.078 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001361/0.3279, allocations: 0.8168 MB / 1.079 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.3279, allocations: 8 kB / 1.079 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.328, allocations: 12 kB / 1.079 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.3285, allocations: 148.7 kB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.3289, allocations: 127.7 kB / 1.08 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.3323, allocations: 4.04 MB / 1.083 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.3328, allocations: 35.97 kB / 1.084 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.3329, allocations: 28 kB / 1.084 GB, free: 7.285 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003348/0.3332, allocations: 205.6 kB / 1.084 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.3334, allocations: 71.17 kB / 1.084 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.3345, allocations: 0.6012 MB / 1.084 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3345, allocations: 4 kB / 1.084 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3345, allocations: 4 kB / 1.084 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3345, allocations: 3.938 kB / 1.084 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.3364, allocations: 1.265 MB / 1.086 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.3365, allocations: 4 kB / 1.086 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.3367, allocations: 55.89 kB / 1.086 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/0.3372, allocations: 144.4 kB / 1.086 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.3372, allocations: 8 kB / 1.086 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/0.3405, allocations: 4.029 MB / 1.09 GB, free: 368 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3405, allocations: 4.031 kB / 1.09 GB, free: 364 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3416, allocations: 0.7041 MB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.3419, allocations: 168.3 kB / 1.091 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.342, allocations: 11.94 kB / 1.091 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.3423, allocations: 31.91 kB / 1.091 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.3424, allocations: 27.91 kB / 1.091 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3424, allocations: 12 kB / 1.091 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003976/0.3428, allocations: 338.8 kB / 1.091 GB, free: 15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3428, allocations: 0 / 1.091 GB, free: 15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007109/0.3435, allocations: 144 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.3437, allocations: 119.1 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.3452, allocations: 1.02 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3452, allocations: 0.875 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.3461, allocations: 0.7422 MB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3472, allocations: 186.2 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.3492, allocations: 1.316 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.3497, allocations: 0.9059 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.3499, allocations: 47.42 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of SimCode: time 7.52e-07/0.3499, allocations: 3.938 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.02171/0.3716, allocations: 18.3 MB / 1.113 GB, free: 8 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches