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.001432/0.001432, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001268/0.001268, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.19 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3599, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006509/0.3665, allocations: 4.916 MB / 1.032 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004188/0.3707, allocations: 2.483 MB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.371, allocations: 23.81 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.3722, allocations: 401.9 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000992/0.3732, allocations: 449.6 kB / 1.035 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.374, allocations: 406 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.3749, allocations: 0.9212 MB / 1.036 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.3754, allocations: 354.5 kB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.3758, allocations: 342.6 kB / 1.037 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.3762, allocations: 350.4 kB / 1.037 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.3763, allocations: 40 kB / 1.037 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.3769, allocations: 395.1 kB / 1.037 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.377, allocations: 187.4 kB / 1.038 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.3774, allocations: 318.2 kB / 1.038 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008738/0.3782, allocations: 0.8954 MB / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3783, allocations: 0 / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3783, allocations: 3.938 kB / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.3783, allocations: 3.938 kB / 1.039 GB, free: 5.605 MB / 0.8106 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.001389/0.3797, allocations: 0.9386 MB / 1.04 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3797, allocations: 8.031 kB / 1.04 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.3809, allocations: 207.8 kB / 1.04 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.3817, allocations: 0.545 MB / 1.041 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.3818, allocations: 37.36 kB / 1.041 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.3818, allocations: 52.36 kB / 1.041 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/0.3828, allocations: 0.8448 MB / 1.041 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3828, allocations: 7.938 kB / 1.041 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.3829, allocations: 20 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.551e-05/0.383, allocations: 60.95 kB / 1.042 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007503/0.3837, allocations: 0.5695 MB / 1.042 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.3878, allocations: 5.65 MB / 1.048 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.3884, allocations: 454.3 kB / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3887, allocations: 224.7 kB / 1.048 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3887, allocations: 4.531 kB / 1.048 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3888, allocations: 42.56 kB / 1.048 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.3888, allocations: 3.938 kB / 1.048 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002458/0.3913, allocations: 1.51 MB / 1.05 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3913, allocations: 55.69 kB / 1.05 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.3918, allocations: 0.4951 MB / 1.05 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3918, allocations: 33.7 kB / 1.05 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.392, allocations: 362.8 kB / 1.051 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.3921, allocations: 122.3 kB / 1.051 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3923, allocations: 118.2 kB / 1.051 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3925, allocations: 370.8 kB / 1.051 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.3928, allocations: 189.2 kB / 1.051 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.3933, allocations: 447.3 kB / 1.052 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.3941, allocations: 0.6915 MB / 1.053 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3941, allocations: 0 / 1.053 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001258/0.3954, allocations: 0.8095 MB / 1.053 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3954, allocations: 8.188 kB / 1.053 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3954, allocations: 12 kB / 1.053 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/0.3959, allocations: 156.1 kB / 1.053 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.3964, allocations: 127.7 kB / 1.054 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.3999, allocations: 4.344 MB / 1.058 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.4002, allocations: 31.97 kB / 1.058 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.4003, allocations: 31.94 kB / 1.058 GB, free: 0.5781 MB / 0.8262 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.000261/0.4005, allocations: 218.5 kB / 1.058 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.4006, allocations: 67.31 kB / 1.058 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4017, allocations: 0.593 MB / 1.059 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.4017, allocations: 7.938 kB / 1.059 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.4017, allocations: 0 / 1.059 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4017, allocations: 0 / 1.059 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.4034, allocations: 1.27 MB / 1.06 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4035, allocations: 0 / 1.06 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.4037, allocations: 55.89 kB / 1.06 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/0.4041, allocations: 148.3 kB / 1.06 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.4041, allocations: 11.94 kB / 1.06 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.4073, allocations: 4.321 MB / 1.064 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4073, allocations: 4.062 kB / 1.064 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.4082, allocations: 0.7077 MB / 1.065 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.4084, allocations: 172.3 kB / 1.065 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.4085, allocations: 11.98 kB / 1.065 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.4087, allocations: 23.97 kB / 1.065 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.4088, allocations: 35.84 kB / 1.065 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.4088, allocations: 8 kB / 1.065 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003349/0.4091, allocations: 338.8 kB / 1.066 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4091, allocations: 0 / 1.066 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005911/0.4097, allocations: 144 kB / 1.066 GB, free: 7.84 MB / 0.8419 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.0001491/0.4099, allocations: 119.1 kB / 1.066 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.4112, allocations: 1.041 MB / 1.067 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4112, allocations: 0 / 1.067 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.4119, allocations: 0.7346 MB / 1.068 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.4128, allocations: 207.6 kB / 1.068 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4143, allocations: 1.043 MB / 1.069 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.4147, allocations: 0.9136 MB / 1.07 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002693/0.415, allocations: 113.3 kB / 1.07 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.4151, allocations: 39.44 kB / 1.07 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.4151, allocations: 7.938 kB / 1.07 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of Templates: time 0.5969/1.012, allocations: 7.6 MB / 1.077 GB, free: 52.12 MB / 0.8419 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 -s cvode -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