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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002008/0.002009, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002262/0.002262, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001945, allocations: 68.05 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.324, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008163/0.3322, allocations: 4.901 MB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005025/0.3373, allocations: 2.494 MB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006362/0.338, allocations: 31.75 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.3395, allocations: 394.6 kB / 1.026 GB, free: 2.797 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.3409, allocations: 441.6 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.342, allocations: 409.6 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.3435, allocations: 0.929 MB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007055/0.3442, allocations: 354.5 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.3449, allocations: 334.6 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.3455, allocations: 342.5 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.3457, allocations: 36.05 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009542/0.3466, allocations: 407.1 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.3469, allocations: 183.4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.3474, allocations: 326.2 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.349, allocations: 0.8723 MB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.349, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3491, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.962e-05/0.3491, allocations: 0 / 1.03 GB, free: 14.2 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.001854/0.3509, allocations: 0.956 MB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.351, allocations: 12.88 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.3524, allocations: 203.8 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008627/0.3533, allocations: 0.4944 MB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.3533, allocations: 33.38 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.3534, allocations: 44.36 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3547, allocations: 0.8487 MB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.3548, allocations: 11.94 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.3548, allocations: 23.98 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-05/0.355, allocations: 68.89 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009668/0.3559, allocations: 0.5617 MB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005885/0.3618, allocations: 5.658 MB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007542/0.3626, allocations: 454.7 kB / 1.039 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.363, allocations: 225.3 kB / 1.039 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.363, allocations: 7.984 kB / 1.039 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.3631, allocations: 38.56 kB / 1.039 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.3631, allocations: 0 / 1.039 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.00298/0.3661, allocations: 1.508 MB / 1.041 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3661, allocations: 55.69 kB / 1.041 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.3668, allocations: 0.4952 MB / 1.041 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.3669, allocations: 33.7 kB / 1.042 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.3672, allocations: 358.8 kB / 1.042 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3673, allocations: 122.3 kB / 1.042 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3675, allocations: 106.2 kB / 1.042 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3677, allocations: 374.8 kB / 1.042 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.368, allocations: 193.2 kB / 1.043 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.3685, allocations: 443.3 kB / 1.043 GB, free: 12 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.3694, allocations: 0.6999 MB / 1.044 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3694, allocations: 0 / 1.044 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001454/0.3709, allocations: 0.8018 MB / 1.045 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3709, allocations: 12.06 kB / 1.045 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3709, allocations: 8 kB / 1.045 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.3715, allocations: 160 kB / 1.045 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.372, allocations: 119.8 kB / 1.045 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004497/0.3765, allocations: 4.352 MB / 1.049 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.377, allocations: 35.97 kB / 1.049 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.3771, allocations: 24 kB / 1.049 GB, free: 9.23 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.0003658/0.3775, allocations: 224.9 kB / 1.049 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.3777, allocations: 63.19 kB / 1.049 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3788, allocations: 0.6049 MB / 1.05 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3788, allocations: 4 kB / 1.05 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3788, allocations: 0 / 1.05 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3789, allocations: 4 kB / 1.05 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.381, allocations: 1.266 MB / 1.051 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3811, allocations: 4 kB / 1.051 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.3813, allocations: 55.89 kB / 1.051 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004341/0.3818, allocations: 140.2 kB / 1.051 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3818, allocations: 16.06 kB / 1.051 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.3859, allocations: 4.329 MB / 1.056 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.386, allocations: 4.031 kB / 1.056 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3872, allocations: 0.7076 MB / 1.056 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.3874, allocations: 172.3 kB / 1.056 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.3876, allocations: 11.98 kB / 1.057 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3879, allocations: 23.97 kB / 1.057 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.388, allocations: 27.91 kB / 1.057 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.388, allocations: 12 kB / 1.057 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004255/0.3884, allocations: 342.8 kB / 1.057 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3884, allocations: 0 / 1.057 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00071/0.3892, allocations: 144 kB / 1.057 GB, free: 492 kB / 0.8262 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.0001659/0.3893, allocations: 111.2 kB / 1.057 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.391, allocations: 1.076 MB / 1.058 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3911, allocations: 4.125 kB / 1.058 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.3921, allocations: 0.7379 MB / 1.059 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3932, allocations: 205.8 kB / 1.059 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3952, allocations: 1.103 MB / 1.06 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.3959, allocations: 0.9098 MB / 1.061 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.396, allocations: 43.44 kB / 1.061 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of SimCode: time 1.032e-06/0.396, allocations: 0 / 1.061 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.4673/0.8633, allocations: 18.3 MB / 1.079 GB, free: 60.13 MB / 0.8419 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=400 -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