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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 75.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007445/0.3685, allocations: 4.914 MB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.373, allocations: 2.479 MB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.3734, allocations: 23.81 kB / 1.221 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.3746, allocations: 409.9 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3758, allocations: 469.7 kB / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.3767, allocations: 367 kB / 1.222 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.3779, allocations: 0.9251 MB / 1.223 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.3784, allocations: 290.5 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.3789, allocations: 342.6 kB / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.3794, allocations: 362.5 kB / 1.224 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.3795, allocations: 40 kB / 1.224 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008002/0.3803, allocations: 419 kB / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.3805, allocations: 183.3 kB / 1.225 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.3808, allocations: 318.3 kB / 1.225 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3819, allocations: 0.8831 MB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3819, allocations: 4 kB / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.382, allocations: 0 / 1.226 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.382, allocations: 0 / 1.226 GB, free: 4.531 MB / 0.9669 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.001536/0.3835, allocations: 0.9571 MB / 1.227 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3835, allocations: 12.03 kB / 1.227 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.3848, allocations: 204.2 kB / 1.227 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008359/0.3857, allocations: 0.5378 MB / 1.228 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.3857, allocations: 29.38 kB / 1.228 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.3858, allocations: 52.34 kB / 1.228 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.3869, allocations: 0.8448 MB / 1.229 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.387, allocations: 7.938 kB / 1.229 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.387, allocations: 27.98 kB / 1.229 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.584e-05/0.3871, allocations: 68.95 kB / 1.229 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.388, allocations: 0.5616 MB / 1.229 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/0.3931, allocations: 5.651 MB / 1.235 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.3938, allocations: 426.1 kB / 1.235 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.3941, allocations: 200.7 kB / 1.235 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3942, allocations: 4.531 kB / 1.235 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3942, allocations: 38.55 kB / 1.235 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.3942, allocations: 4 kB / 1.236 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002767/0.397, allocations: 1.51 MB / 1.237 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.397, allocations: 55.69 kB / 1.237 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.3977, allocations: 0.4912 MB / 1.238 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3977, allocations: 29.7 kB / 1.238 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.398, allocations: 367.7 kB / 1.238 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.3981, allocations: 126.9 kB / 1.238 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3983, allocations: 110.2 kB / 1.238 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3984, allocations: 366.8 kB / 1.238 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.3988, allocations: 197.2 kB / 1.239 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.3993, allocations: 447.3 kB / 1.239 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.4002, allocations: 0.6876 MB / 1.24 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4002, allocations: 8 kB / 1.24 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001401/0.4016, allocations: 0.8021 MB / 1.241 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.4016, allocations: 8 kB / 1.241 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4016, allocations: 11.98 kB / 1.241 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.4022, allocations: 164.1 kB / 1.241 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.4027, allocations: 123.7 kB / 1.241 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004083/0.4068, allocations: 4.356 MB / 1.245 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.4072, allocations: 35.97 kB / 1.245 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.4073, allocations: 27.94 kB / 1.245 GB, free: 15.56 MB / 0.9981 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.0003023/0.4076, allocations: 209.6 kB / 1.245 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.4077, allocations: 67.58 kB / 1.245 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.4088, allocations: 0.601 MB / 1.246 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4088, allocations: 4 kB / 1.246 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.4088, allocations: 0 / 1.246 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4088, allocations: 3.984 kB / 1.246 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.4109, allocations: 1.255 MB / 1.247 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4109, allocations: 0 / 1.247 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.4112, allocations: 55.89 kB / 1.247 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/0.4116, allocations: 144.4 kB / 1.247 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.4117, allocations: 11.94 kB / 1.247 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.4156, allocations: 4.333 MB / 1.252 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4156, allocations: 4.188 kB / 1.252 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.4167, allocations: 0.7117 MB / 1.252 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.417, allocations: 172.7 kB / 1.253 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.417, allocations: 8 kB / 1.253 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.4173, allocations: 23.97 kB / 1.253 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.4173, allocations: 27.91 kB / 1.253 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.4174, allocations: 16 kB / 1.253 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000393/0.4178, allocations: 330.8 kB / 1.253 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4178, allocations: 0 / 1.253 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006767/0.4184, allocations: 144 kB / 1.253 GB, free: 6.832 MB / 0.9981 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.0001686/0.4186, allocations: 111.1 kB / 1.253 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.4202, allocations: 1.018 MB / 1.254 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4202, allocations: 0 / 1.254 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.4212, allocations: 0.7228 MB / 1.255 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4222, allocations: 205.1 kB / 1.255 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.4241, allocations: 1.087 MB / 1.256 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.4247, allocations: 0.9136 MB / 1.257 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.4248, allocations: 39.44 kB / 1.257 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.4248, allocations: 0 / 1.257 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.5894/1.014, allocations: 18.07 MB / 1.275 GB, free: 46.8 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.38074713991955]