Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 213.7 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.09/3.09, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 69.11 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006611/0.3105, allocations: 4.618 MB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004084/0.3146, allocations: 2.413 MB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.3149, allocations: 31.62 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3161, allocations: 409 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008914/0.3169, allocations: 469.6 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.3177, allocations: 379.2 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3187, allocations: 0.9178 MB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.3192, allocations: 318.3 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.3197, allocations: 350.6 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004837/0.3202, allocations: 366.4 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.3203, allocations: 40 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.3208, allocations: 363.1 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.321, allocations: 183.3 kB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.3213, allocations: 258.7 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3223, allocations: 0.8987 MB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3223, allocations: 0 / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3223, allocations: 0 / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.3223, allocations: 0 / 1.339 GB, free: 5.016 MB / 1.029 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.001433/0.3238, allocations: 0.8896 MB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3238, allocations: 12.03 kB / 1.34 GB, free: 4.078 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.3251, allocations: 204.2 kB / 1.34 GB, free: 3.879 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.3259, allocations: 476.8 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.326, allocations: 33.36 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-05/0.3261, allocations: 52.31 kB / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3273, allocations: 0.9742 MB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.3273, allocations: 7.938 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.3274, allocations: 27.98 kB / 1.341 GB, free: 2.133 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-05/0.3275, allocations: 68.95 kB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.3284, allocations: 0.5616 MB / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.3327, allocations: 4.635 MB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.3333, allocations: 423.3 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.3336, allocations: 200.7 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3337, allocations: 4 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3337, allocations: 34.56 kB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.3337, allocations: 0 / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002465/0.3362, allocations: 1.14 MB / 1.348 GB, free: 10.86 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3362, allocations: 55.62 kB / 1.348 GB, free: 10.79 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.3367, allocations: 462.7 kB / 1.349 GB, free: 10.33 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.3367, allocations: 37.7 kB / 1.349 GB, free: 10.29 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.337, allocations: 376.2 kB / 1.349 GB, free: 9.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.3371, allocations: 123 kB / 1.349 GB, free: 9.789 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.3373, allocations: 106.2 kB / 1.349 GB, free: 9.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3375, allocations: 362.8 kB / 1.35 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.3378, allocations: 197.2 kB / 1.35 GB, free: 9.121 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.3383, allocations: 443.9 kB / 1.35 GB, free: 8.574 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000894/0.3392, allocations: 0.6954 MB / 1.351 GB, free: 7.762 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3392, allocations: 4 kB / 1.351 GB, free: 7.758 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001324/0.3405, allocations: 0.8019 MB / 1.352 GB, free: 6.934 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3405, allocations: 8 kB / 1.352 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3405, allocations: 8 kB / 1.352 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.3411, allocations: 156.1 kB / 1.352 GB, free: 6.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.3415, allocations: 120.2 kB / 1.352 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.3452, allocations: 3.962 MB / 1.356 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.3455, allocations: 39.97 kB / 1.356 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.3456, allocations: 31.98 kB / 1.356 GB, free: 2.293 MB / 1.045 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.0002894/0.3459, allocations: 209.7 kB / 1.356 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.346, allocations: 59.61 kB / 1.356 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3471, allocations: 0.6043 MB / 1.357 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3471, allocations: 4 kB / 1.357 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3471, allocations: 3.938 kB / 1.357 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3471, allocations: 3.984 kB / 1.357 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.3489, allocations: 1.117 MB / 1.358 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3489, allocations: 8.031 kB / 1.358 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.3492, allocations: 63.88 kB / 1.358 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.3496, allocations: 136.2 kB / 1.358 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.3496, allocations: 12 kB / 1.358 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/0.3531, allocations: 3.961 MB / 1.362 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3531, allocations: 7.969 kB / 1.362 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3542, allocations: 0.7008 MB / 1.363 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.3544, allocations: 83.62 kB / 1.363 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.3545, allocations: 12 kB / 1.363 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.3547, allocations: 23.91 kB / 1.363 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.3548, allocations: 31.89 kB / 1.363 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.3548, allocations: 12 kB / 1.363 GB, free: 10.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003232/0.3552, allocations: 302.9 kB / 1.363 GB, free: 10.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3552, allocations: 4.094 kB / 1.363 GB, free: 10.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006237/0.3558, allocations: 140 kB / 1.363 GB, free: 10.34 MB / 1.061 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.0001367/0.3559, allocations: 107.2 kB / 1.363 GB, free: 10.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.3573, allocations: 0.8513 MB / 1.364 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3573, allocations: 0 / 1.364 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.3581, allocations: 0.5799 MB / 1.365 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.3591, allocations: 198.7 kB / 1.365 GB, free: 8.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3607, allocations: 1.042 MB / 1.366 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.361, allocations: 311.4 kB / 1.366 GB, free: 7.086 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.3613, allocations: 117 kB / 1.366 GB, free: 6.969 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.3614, allocations: 35.44 kB / 1.366 GB, free: 6.934 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3614, allocations: 0 / 1.366 GB, free: 6.934 MB / 1.061 GB Notification: Performance of Templates: time 0.01534/0.3767, allocations: 8.683 MB / 1.375 GB, free: 14.46 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.52270875000977]