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.0009156/0.0009157, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009952/0.0009951, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.43 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.786/2.786, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004492, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7962, allocations: 153.8 MB / 1.022 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00593/0.8022, allocations: 4.295 MB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.8061, allocations: 2.34 MB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.8065, allocations: 23.81 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.8068, allocations: 91.14 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009653/0.8078, allocations: 346.2 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.8085, allocations: 306.9 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.8096, allocations: 0.9718 MB / 1.031 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.8103, allocations: 420.2 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.8107, allocations: 290.7 kB / 1.031 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.8112, allocations: 326.6 kB / 1.032 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.8112, allocations: 20 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.8117, allocations: 191.7 kB / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.8119, allocations: 171.4 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.812, allocations: 133.4 kB / 1.032 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.8128, allocations: 0.6448 MB / 1.033 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8128, allocations: 3.938 kB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8128, allocations: 0 / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8128, allocations: 0 / 1.033 GB, free: 5.555 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.001227/0.814, allocations: 0.845 MB / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.8141, allocations: 12.52 kB / 1.034 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.8152, allocations: 202.9 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.8159, allocations: 0.4894 MB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.816, allocations: 36.94 kB / 1.034 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/0.816, allocations: 43.98 kB / 1.034 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.8171, allocations: 0.8406 MB / 1.035 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.8172, allocations: 7.938 kB / 1.035 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.8172, allocations: 20 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.443e-05/0.8173, allocations: 72.95 kB / 1.035 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.8181, allocations: 0.5577 MB / 1.036 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.8224, allocations: 5.651 MB / 1.041 GB, free: 12.16 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.8231, allocations: 458.1 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.8234, allocations: 232.7 kB / 1.042 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.8234, allocations: 4 kB / 1.042 GB, free: 11.47 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8235, allocations: 35.03 kB / 1.042 GB, free: 11.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 3.526e-06/0.8235, allocations: 3.984 kB / 1.042 GB, free: 11.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002431/0.8259, allocations: 1.507 MB / 1.043 GB, free: 9.801 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.826, allocations: 55.69 kB / 1.043 GB, free: 9.734 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.8265, allocations: 0.4913 MB / 1.044 GB, free: 9.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.8265, allocations: 33.7 kB / 1.044 GB, free: 9.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.8268, allocations: 358.8 kB / 1.044 GB, free: 8.836 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.861e-05/0.8268, allocations: 122.3 kB / 1.044 GB, free: 8.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.8269, allocations: 12 kB / 1.044 GB, free: 8.703 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.827, allocations: 374.7 kB / 1.045 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.8273, allocations: 189.2 kB / 1.045 GB, free: 8.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.8278, allocations: 447.3 kB / 1.045 GB, free: 7.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.8281, allocations: 264 kB / 1.046 GB, free: 7.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8281, allocations: 4 kB / 1.046 GB, free: 7.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001266/0.8294, allocations: 0.7932 MB / 1.046 GB, free: 6.512 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.8295, allocations: 12.94 kB / 1.046 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.8295, allocations: 11.94 kB / 1.046 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.83, allocations: 152.2 kB / 1.047 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.8305, allocations: 123.8 kB / 1.047 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.834, allocations: 4.042 MB / 1.051 GB, free: 1.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.8345, allocations: 31.97 kB / 1.051 GB, free: 1.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.8345, allocations: 28 kB / 1.051 GB, free: 1.707 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.8349, allocations: 213.7 kB / 1.051 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.835, allocations: 63.25 kB / 1.051 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.8362, allocations: 0.6088 MB / 1.052 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8362, allocations: 4 kB / 1.052 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8362, allocations: 0 / 1.052 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.8362, allocations: 0 / 1.052 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.838, allocations: 1.262 MB / 1.053 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.838, allocations: 4.219 kB / 1.053 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.8383, allocations: 55.89 kB / 1.053 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/0.8387, allocations: 136.2 kB / 1.053 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.8387, allocations: 8 kB / 1.053 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.8419, allocations: 4.032 MB / 1.057 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8419, allocations: 4.031 kB / 1.057 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.8429, allocations: 0.7084 MB / 1.058 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.8432, allocations: 168.3 kB / 1.058 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.8432, allocations: 8 kB / 1.058 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.8435, allocations: 23.97 kB / 1.058 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.8436, allocations: 31.91 kB / 1.058 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.8436, allocations: 12 kB / 1.058 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003849/0.844, allocations: 334.8 kB / 1.058 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.844, allocations: 4 kB / 1.058 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006972/0.8447, allocations: 140 kB / 1.058 GB, free: 9.309 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.8449, allocations: 107.2 kB / 1.058 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.8465, allocations: 1.033 MB / 1.059 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8465, allocations: 0 / 1.059 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.8474, allocations: 0.727 MB / 1.06 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.8484, allocations: 187.4 kB / 1.06 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.8502, allocations: 1.243 MB / 1.062 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.8508, allocations: 0.9098 MB / 1.062 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.8511, allocations: 125.3 kB / 1.063 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.8512, allocations: 39.44 kB / 1.063 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/0.8512, allocations: 0 / 1.063 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of Templates: time 0.01507/0.8663, allocations: 7.044 MB / 1.069 GB, free: 13.73 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/jenkins/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