Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002412/0.002412, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.752/2.752, allocations: 472.6 MB / 0.7452 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.27 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2876, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007011/0.2946, allocations: 4.851 MB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00476/0.2994, allocations: 2.455 MB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/0.3002, allocations: 23.81 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.3017, allocations: 401.9 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.3033, allocations: 445.7 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3045, allocations: 374.6 kB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.3061, allocations: 0.9173 MB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.3069, allocations: 354.5 kB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.3076, allocations: 330.7 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.3082, allocations: 350.5 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3083, allocations: 40 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008691/0.3092, allocations: 407.1 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.3094, allocations: 175.5 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.3099, allocations: 318.3 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.3113, allocations: 0.8723 MB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3114, allocations: 0 / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.958e-06/0.3114, allocations: 0 / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.92e-05/0.3114, allocations: 3.938 kB / 1.08 GB, free: 14.05 MB / 0.8419 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.00195/0.3134, allocations: 0.9347 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3134, allocations: 8.031 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.3148, allocations: 195.9 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008193/0.3156, allocations: 0.4905 MB / 1.082 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.3157, allocations: 33.36 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.3158, allocations: 48.28 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3171, allocations: 0.8485 MB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.3171, allocations: 3.938 kB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.3172, allocations: 23.98 kB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.3173, allocations: 68.95 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.3182, allocations: 0.5694 MB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/0.3229, allocations: 5.654 MB / 1.089 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.3236, allocations: 446.3 kB / 1.089 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.3239, allocations: 229.3 kB / 1.09 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.324, allocations: 3.984 kB / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.324, allocations: 42.5 kB / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.324, allocations: 3.938 kB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002968/0.327, allocations: 1.508 MB / 1.091 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3271, allocations: 59.67 kB / 1.091 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.3277, allocations: 0.4911 MB / 1.092 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3277, allocations: 29.7 kB / 1.092 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.328, allocations: 354.8 kB / 1.092 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3281, allocations: 122.3 kB / 1.092 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.3283, allocations: 110.2 kB / 1.092 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3285, allocations: 362.8 kB / 1.092 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.3289, allocations: 197.2 kB / 1.093 GB, free: 472 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.3294, allocations: 447.4 kB / 1.093 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008764/0.3303, allocations: 0.6874 MB / 1.094 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3303, allocations: 4 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001361/0.3316, allocations: 0.8134 MB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.3317, allocations: 8 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3317, allocations: 15.98 kB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.3322, allocations: 152.6 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.3328, allocations: 127.7 kB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.336, allocations: 4.34 MB / 1.099 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.3364, allocations: 35.97 kB / 1.099 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.3365, allocations: 32.16 kB / 1.099 GB, free: 9.121 MB / 0.8575 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.0002502/0.3367, allocations: 211.9 kB / 1.099 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.3368, allocations: 67.06 kB / 1.099 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009883/0.3378, allocations: 0.6046 MB / 1.1 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3379, allocations: 4 kB / 1.1 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3379, allocations: 4 kB / 1.1 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3379, allocations: 0 / 1.1 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.3396, allocations: 1.262 MB / 1.101 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3396, allocations: 0 / 1.101 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.3399, allocations: 55.89 kB / 1.101 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.3403, allocations: 148.3 kB / 1.101 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3403, allocations: 11.94 kB / 1.101 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.3433, allocations: 4.328 MB / 1.106 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3433, allocations: 8.156 kB / 1.106 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.3443, allocations: 0.7003 MB / 1.106 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.3445, allocations: 172.3 kB / 1.107 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.3446, allocations: 8 kB / 1.107 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3449, allocations: 23.97 kB / 1.107 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3449, allocations: 31.84 kB / 1.107 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.345, allocations: 12 kB / 1.107 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00033/0.3453, allocations: 334.8 kB / 1.107 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3453, allocations: 7.938 kB / 1.107 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000622/0.3459, allocations: 136 kB / 1.107 GB, free: 396 kB / 0.8575 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.0001462/0.3461, allocations: 119.1 kB / 1.107 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.3475, allocations: 1.08 MB / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3476, allocations: 0 / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.3484, allocations: 0.7397 MB / 1.109 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3494, allocations: 199.1 kB / 1.109 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3509, allocations: 1.037 MB / 1.11 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.3514, allocations: 0.9058 MB / 1.111 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000335/0.3517, allocations: 121.3 kB / 1.111 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.3518, allocations: 39.44 kB / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of SimCode: time 1.373e-06/0.3518, allocations: 0 / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.01401/0.3658, allocations: 7.6 MB / 1.119 GB, free: 4.406 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches