Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.00108/0.00108, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00112/0.00112, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8831, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006097/0.8893, allocations: 4.895 MB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.8934, allocations: 2.49 MB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.8938, allocations: 24.5 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.895, allocations: 399.7 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.8962, allocations: 465.8 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.8973, allocations: 402.3 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.899, allocations: 0.9311 MB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.8998, allocations: 346.2 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.9005, allocations: 347.9 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.9012, allocations: 351.5 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.9013, allocations: 38.41 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.9025, allocations: 409.8 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.9028, allocations: 181.2 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.9033, allocations: 321.4 kB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.9046, allocations: 0.8876 MB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9046, allocations: 0.875 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9046, allocations: 0 / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.9047, allocations: 0 / 1.101 GB, free: 14.13 MB / 0.8731 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.001721/0.9064, allocations: 0.9484 MB / 1.102 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.9065, allocations: 9.688 kB / 1.102 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.9079, allocations: 205.8 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009914/0.9089, allocations: 0.549 MB / 1.102 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.9089, allocations: 35.08 kB / 1.102 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.909, allocations: 46.33 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.9105, allocations: 0.8487 MB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.9105, allocations: 7.031 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.9106, allocations: 24.39 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/0.9108, allocations: 66.28 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.9121, allocations: 0.5677 MB / 1.104 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/0.918, allocations: 5.649 MB / 1.109 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.9189, allocations: 457.9 kB / 1.11 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.9193, allocations: 232.1 kB / 1.11 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.9194, allocations: 8.344 kB / 1.11 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.9194, allocations: 35.75 kB / 1.11 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 3.246e-06/0.9194, allocations: 1.312 kB / 1.11 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003084/0.9225, allocations: 1.508 MB / 1.112 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.9226, allocations: 54.72 kB / 1.112 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.9233, allocations: 0.5018 MB / 1.112 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.9233, allocations: 33.7 kB / 1.112 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.9236, allocations: 355.2 kB / 1.113 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.9237, allocations: 122.1 kB / 1.113 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.9239, allocations: 110 kB / 1.113 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.9241, allocations: 366.1 kB / 1.113 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.9244, allocations: 196.5 kB / 1.113 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.9249, allocations: 447.3 kB / 1.114 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/0.9259, allocations: 0.693 MB / 1.114 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9259, allocations: 2.219 kB / 1.114 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001392/0.9273, allocations: 0.8085 MB / 1.115 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9273, allocations: 8.594 kB / 1.115 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.9273, allocations: 9.203 kB / 1.115 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.9279, allocations: 160.7 kB / 1.115 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.9285, allocations: 125.5 kB / 1.116 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.9324, allocations: 4.339 MB / 1.12 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.9329, allocations: 32.7 kB / 1.12 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.9329, allocations: 28.47 kB / 1.12 GB, free: 14.95 MB / 0.8887 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.000299/0.9332, allocations: 223.7 kB / 1.12 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.541e-05/0.9333, allocations: 66.3 kB / 1.12 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.9344, allocations: 0.5963 MB / 1.121 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.9345, allocations: 1.453 kB / 1.121 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9345, allocations: 3.938 kB / 1.121 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.9347, allocations: 172 kB / 1.121 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.9348, allocations: 7.75 kB / 1.121 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.935, allocations: 20.59 kB / 1.121 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.9351, allocations: 34.59 kB / 1.121 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001492/0.9366, allocations: 0.6632 MB / 1.122 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001239/0.9379, allocations: 0.8216 MB / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000312/0.9382, allocations: 180.9 kB / 1.123 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004611/0.9386, allocations: 338.8 kB / 1.123 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of Backend: time 8.11e-07/0.9387, allocations: 0 / 1.123 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002486/0.9411, allocations: 1.165 MB / 1.124 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002458/0.9436, allocations: 1.59 MB / 1.126 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of Templates: time 0.02306/0.9667, allocations: 9.959 MB / 1.135 GB, free: 10.76 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches