Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.OnePhase.Loads.Examples.TestImpedance,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.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,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.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001452, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01065/0.01065, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.689/2.689, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 8 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8338/0.8342, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004795/0.839, allocations: 4.476 MB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003769/0.8428, allocations: 2.44 MB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.8433, allocations: 19.81 kB / 1.03 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.8436, allocations: 87.22 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.8447, allocations: 418 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008804/0.8456, allocations: 341.1 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.8468, allocations: 1.12 MB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/0.8477, allocations: 464.2 kB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.8481, allocations: 294.7 kB / 1.032 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.8486, allocations: 334.4 kB / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.8487, allocations: 20 kB / 1.033 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.8496, allocations: 498.9 kB / 1.033 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.8498, allocations: 155.5 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.8501, allocations: 319.9 kB / 1.034 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.8509, allocations: 0.8777 MB / 1.035 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.851, allocations: 0 / 1.035 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.851, allocations: 0 / 1.035 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.851, allocations: 0 / 1.035 GB, free: 3.973 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.001225/0.8522, allocations: 0.8314 MB / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8523, allocations: 8.031 kB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.8535, allocations: 199.9 kB / 1.036 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.8541, allocations: 498.2 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.8542, allocations: 37.36 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.8543, allocations: 52.28 kB / 1.036 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.8554, allocations: 0.8448 MB / 1.037 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.8554, allocations: 7.938 kB / 1.037 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.8555, allocations: 20 kB / 1.037 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.925e-05/0.8556, allocations: 64.95 kB / 1.037 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.8564, allocations: 0.5617 MB / 1.038 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.8607, allocations: 5.674 MB / 1.043 GB, free: 10.58 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.8614, allocations: 454.7 kB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.8617, allocations: 225.3 kB / 1.044 GB, free: 9.902 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.8617, allocations: 7.984 kB / 1.044 GB, free: 9.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.8617, allocations: 38.56 kB / 1.044 GB, free: 9.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/0.8618, allocations: 0 / 1.044 GB, free: 9.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002524/0.8643, allocations: 1.503 MB / 1.045 GB, free: 8.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.8643, allocations: 55.69 kB / 1.045 GB, free: 8.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.8648, allocations: 0.4989 MB / 1.046 GB, free: 7.648 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.8649, allocations: 33.69 kB / 1.046 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.8651, allocations: 350.8 kB / 1.046 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/0.8652, allocations: 122.3 kB / 1.046 GB, free: 7.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.8653, allocations: 49.7 kB / 1.046 GB, free: 7.086 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8654, allocations: 366.8 kB / 1.047 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.8657, allocations: 193.2 kB / 1.047 GB, free: 6.531 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.8662, allocations: 447.3 kB / 1.047 GB, free: 5.977 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.867, allocations: 0.6954 MB / 1.048 GB, free: 5.164 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.867, allocations: 4 kB / 1.048 GB, free: 5.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001283/0.8683, allocations: 0.8093 MB / 1.049 GB, free: 4.328 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.8683, allocations: 10.03 kB / 1.049 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.8683, allocations: 8 kB / 1.049 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/0.8688, allocations: 160.4 kB / 1.049 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.8694, allocations: 123.8 kB / 1.049 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/0.8729, allocations: 4.036 MB / 1.053 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.8734, allocations: 40.03 kB / 1.053 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.8734, allocations: 31.98 kB / 1.053 GB, free: 15.52 MB / 0.8106 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.0003061/0.8737, allocations: 205.6 kB / 1.053 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.8738, allocations: 59.25 kB / 1.053 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.8749, allocations: 0.6046 MB / 1.054 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.8749, allocations: 7.938 kB / 1.054 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8749, allocations: 0 / 1.054 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.8749, allocations: 7.922 kB / 1.054 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.8767, allocations: 1.254 MB / 1.055 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8767, allocations: 0 / 1.055 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.877, allocations: 59.89 kB / 1.055 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.8774, allocations: 140.4 kB / 1.055 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.8774, allocations: 8 kB / 1.055 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/0.8806, allocations: 4.036 MB / 1.059 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.8806, allocations: 4 kB / 1.059 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/0.8816, allocations: 0.7011 MB / 1.06 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.8818, allocations: 172.3 kB / 1.06 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.8819, allocations: 11.94 kB / 1.06 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.8822, allocations: 23.97 kB / 1.06 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.8822, allocations: 27.97 kB / 1.06 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.8823, allocations: 12 kB / 1.06 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003592/0.8826, allocations: 334.8 kB / 1.061 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8826, allocations: 0 / 1.061 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006622/0.8833, allocations: 140 kB / 1.061 GB, free: 7.125 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.0001529/0.8835, allocations: 114 kB / 1.061 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.885, allocations: 1.04 MB / 1.062 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.885, allocations: 3.938 kB / 1.062 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000825/0.8858, allocations: 0.7358 MB / 1.063 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.8869, allocations: 186 kB / 1.063 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.8886, allocations: 1.269 MB / 1.064 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.8892, allocations: 0.9058 MB / 1.065 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003337/0.8895, allocations: 113.3 kB / 1.065 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.8896, allocations: 39.44 kB / 1.065 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.8896, allocations: 4 kB / 1.065 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of Templates: time 0.01355/0.9032, allocations: 7.269 MB / 1.072 GB, free: 11.29 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches