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.001558/0.001558, allocations: 112.6 kB / 17.08 MB, free: 6.008 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.001601/0.001601, allocations: 194.2 kB / 20.03 MB, free: 3.078 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.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.627/2.627, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 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.002159/0.002159, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2974, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00715/0.3045, allocations: 4.846 MB / 1.181 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004614/0.3092, allocations: 2.463 MB / 1.183 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000568/0.3098, allocations: 23.81 kB / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.3112, allocations: 397.9 kB / 1.183 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.3125, allocations: 457.6 kB / 1.184 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3136, allocations: 362.6 kB / 1.184 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3151, allocations: 0.9174 MB / 1.185 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/0.3158, allocations: 358.4 kB / 1.185 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005756/0.3164, allocations: 334.7 kB / 1.186 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.3169, allocations: 354.4 kB / 1.186 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.707e-05/0.317, allocations: 40 kB / 1.186 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008335/0.3178, allocations: 399.1 kB / 1.186 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.318, allocations: 179.4 kB / 1.187 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.3184, allocations: 322.2 kB / 1.187 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3196, allocations: 0.8832 MB / 1.188 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3196, allocations: 3.938 kB / 1.188 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3196, allocations: 0 / 1.188 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3197, allocations: 0 / 1.188 GB, free: 9.582 MB / 0.9356 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.001649/0.3213, allocations: 0.9572 MB / 1.189 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3214, allocations: 8.031 kB / 1.189 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.3226, allocations: 204.2 kB / 1.189 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.3235, allocations: 0.5417 MB / 1.189 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.3236, allocations: 41.3 kB / 1.19 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.3237, allocations: 48.34 kB / 1.19 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.325, allocations: 0.8524 MB / 1.19 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.325, allocations: 7.938 kB / 1.19 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.3251, allocations: 20 kB / 1.19 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.436e-05/0.3252, allocations: 64.95 kB / 1.19 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.326, allocations: 0.5695 MB / 1.191 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.3313, allocations: 5.639 MB / 1.197 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.3321, allocations: 470.1 kB / 1.197 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.3325, allocations: 228.7 kB / 1.197 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3325, allocations: 4 kB / 1.197 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.3326, allocations: 42.48 kB / 1.197 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.3326, allocations: 0 / 1.197 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002796/0.3354, allocations: 1.503 MB / 1.199 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.3355, allocations: 59.62 kB / 1.199 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.3361, allocations: 499 kB / 1.199 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.3361, allocations: 41.7 kB / 1.199 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.3364, allocations: 363.7 kB / 1.2 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3365, allocations: 126.9 kB / 1.2 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.3367, allocations: 110.2 kB / 1.2 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.337, allocations: 362.8 kB / 1.2 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.3373, allocations: 193.2 kB / 1.2 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.3378, allocations: 447.3 kB / 1.201 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009321/0.3388, allocations: 0.6915 MB / 1.202 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.3388, allocations: 4 kB / 1.202 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001402/0.3402, allocations: 0.8097 MB / 1.202 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.3402, allocations: 12 kB / 1.202 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3403, allocations: 15.92 kB / 1.202 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.3408, allocations: 152.4 kB / 1.202 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.3413, allocations: 127.7 kB / 1.203 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.3452, allocations: 4.348 MB / 1.207 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.3457, allocations: 31.97 kB / 1.207 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.3458, allocations: 28 kB / 1.207 GB, free: 4.555 MB / 0.9512 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.0003303/0.3461, allocations: 213.6 kB / 1.207 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3462, allocations: 67.58 kB / 1.207 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.3474, allocations: 0.5971 MB / 1.208 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.3474, allocations: 4 kB / 1.208 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3474, allocations: 0 / 1.208 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3474, allocations: 7.984 kB / 1.208 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.3494, allocations: 1.255 MB / 1.209 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.3494, allocations: 4 kB / 1.209 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3497, allocations: 55.89 kB / 1.209 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.3501, allocations: 140.1 kB / 1.209 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.3502, allocations: 16.03 kB / 1.209 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.3541, allocations: 4.333 MB / 1.213 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3541, allocations: 4.031 kB / 1.213 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3553, allocations: 0.7125 MB / 1.214 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.3555, allocations: 172.7 kB / 1.214 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.3556, allocations: 8 kB / 1.214 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3558, allocations: 27.91 kB / 1.214 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.3559, allocations: 35.84 kB / 1.214 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.356, allocations: 12 kB / 1.214 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003942/0.3564, allocations: 330.8 kB / 1.215 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3564, allocations: 0 / 1.215 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006841/0.3571, allocations: 140 kB / 1.215 GB, free: 11.81 MB / 0.9669 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.0002234/0.3573, allocations: 115.1 kB / 1.215 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.359, allocations: 1.044 MB / 1.216 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.359, allocations: 0 / 1.216 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.3599, allocations: 0.7355 MB / 1.217 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.3609, allocations: 212.5 kB / 1.217 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3628, allocations: 1.095 MB / 1.218 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.3634, allocations: 0.9058 MB / 1.219 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3635, allocations: 43.44 kB / 1.219 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.3636, allocations: 0 / 1.219 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of Templates: time 0.02297/0.3865, allocations: 18.02 MB / 1.236 GB, free: 5.418 MB / 0.9825 GB " [Timeout remaining time 300] 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: 13.115326063008979]