Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001508/0.001508, 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.001919/0.001919, allocations: 197.6 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6733/0.6748, allocations: 151.6 MB / 1.017 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007463/0.6823, allocations: 4.912 MB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004683/0.6871, allocations: 2.506 MB / 1.025 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006772/0.6878, allocations: 23.81 kB / 1.025 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.6892, allocations: 374.4 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.6906, allocations: 418 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.6917, allocations: 362.4 kB / 1.026 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.6931, allocations: 1.136 MB / 1.027 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006343/0.6938, allocations: 347.3 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.6942, allocations: 310.6 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.6946, allocations: 346.5 kB / 1.028 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.6947, allocations: 28 kB / 1.028 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008606/0.6956, allocations: 495 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.6958, allocations: 175.3 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.6961, allocations: 306.2 kB / 1.029 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.6968, allocations: 0.6723 MB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6968, allocations: 0 / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6968, allocations: 0 / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.6968, allocations: 0 / 1.029 GB, free: 6.535 MB / 0.7794 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.001548/0.6984, allocations: 0.9502 MB / 1.03 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.6984, allocations: 11.98 kB / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.6997, allocations: 207.8 kB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.7004, allocations: 0.4982 MB / 1.031 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.7005, allocations: 37.36 kB / 1.031 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.7006, allocations: 40.38 kB / 1.031 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.7017, allocations: 0.8448 MB / 1.032 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.7017, allocations: 7.938 kB / 1.032 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.7018, allocations: 23.98 kB / 1.032 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.982e-05/0.7019, allocations: 64.95 kB / 1.032 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.7027, allocations: 0.5695 MB / 1.033 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.7073, allocations: 5.654 MB / 1.038 GB, free: 13.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.7079, allocations: 462.6 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.7083, allocations: 229.3 kB / 1.039 GB, free: 12.33 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.7083, allocations: 7.984 kB / 1.039 GB, free: 12.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.7083, allocations: 38.5 kB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.7083, allocations: 0 / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002635/0.711, allocations: 1.499 MB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.711, allocations: 55.62 kB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.7116, allocations: 0.5067 MB / 1.041 GB, free: 10.07 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.7117, allocations: 33.7 kB / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.712, allocations: 354.8 kB / 1.041 GB, free: 9.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.7121, allocations: 126.3 kB / 1.041 GB, free: 9.555 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.7124, allocations: 106.2 kB / 1.041 GB, free: 9.445 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7126, allocations: 366.8 kB / 1.042 GB, free: 9.078 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.7128, allocations: 197.2 kB / 1.042 GB, free: 8.883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.7133, allocations: 447.3 kB / 1.042 GB, free: 8.332 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.714, allocations: 0.6915 MB / 1.043 GB, free: 7.523 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7141, allocations: 0 / 1.043 GB, free: 7.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001205/0.7153, allocations: 0.8207 MB / 1.044 GB, free: 6.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.7153, allocations: 9.562 kB / 1.044 GB, free: 6.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.7153, allocations: 8 kB / 1.044 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.7158, allocations: 152.7 kB / 1.044 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.7162, allocations: 123.7 kB / 1.044 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.7193, allocations: 4.044 MB / 1.048 GB, free: 1.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.7197, allocations: 35.97 kB / 1.048 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.7197, allocations: 28 kB / 1.048 GB, free: 1.875 MB / 0.795 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.0002711/0.72, allocations: 209.5 kB / 1.048 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.7201, allocations: 67.25 kB / 1.048 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009588/0.7211, allocations: 0.597 MB / 1.049 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7211, allocations: 4 kB / 1.049 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7211, allocations: 0 / 1.049 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7211, allocations: 3.938 kB / 1.049 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.7228, allocations: 1.27 MB / 1.05 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7228, allocations: 0 / 1.05 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.7231, allocations: 55.89 kB / 1.05 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.7235, allocations: 144.4 kB / 1.05 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.7235, allocations: 15.94 kB / 1.05 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.7263, allocations: 4.013 MB / 1.054 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7264, allocations: 4 kB / 1.054 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.7273, allocations: 0.7052 MB / 1.055 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.7276, allocations: 168.3 kB / 1.055 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.7276, allocations: 11.94 kB / 1.055 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.7279, allocations: 31.97 kB / 1.055 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.728, allocations: 31.91 kB / 1.055 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.728, allocations: 8 kB / 1.055 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003494/0.7283, allocations: 338.8 kB / 1.056 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7283, allocations: 0 / 1.056 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006782/0.729, allocations: 140 kB / 1.056 GB, free: 9.477 MB / 0.8106 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.000143/0.7292, allocations: 119.2 kB / 1.056 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.7306, allocations: 1.028 MB / 1.057 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7306, allocations: 0 / 1.057 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.7314, allocations: 0.7398 MB / 1.058 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.7323, allocations: 198.3 kB / 1.058 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.7341, allocations: 1.318 MB / 1.059 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.7346, allocations: 0.9098 MB / 1.06 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.7347, allocations: 47.42 kB / 1.06 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.7347, allocations: 0 / 1.06 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of Templates: time 0.02042/0.7551, allocations: 18.29 MB / 1.078 GB, free: 2.609 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches