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.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.001834/0.001834, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002351/0.002351, allocations: 213 kB / 22.25 MB, free: 4.859 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.69/1.69, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.393/3.393, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002126/0.002126, allocations: 73.81 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006816/0.3976, allocations: 4.608 MB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.4022, allocations: 2.405 MB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.4026, allocations: 35.62 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.4039, allocations: 409.9 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.4049, allocations: 465.6 kB / 1.372 GB, free: 5.625 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.4058, allocations: 377.3 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4069, allocations: 0.9139 MB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/0.4074, allocations: 318.3 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.4079, allocations: 362.6 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/0.4084, allocations: 342.5 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.4084, allocations: 40 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.4091, allocations: 367.1 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.4093, allocations: 179.4 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.4096, allocations: 266.6 kB / 1.375 GB, free: 2.492 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.4106, allocations: 0.891 MB / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4106, allocations: 0 / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4107, allocations: 4 kB / 1.375 GB, free: 1.594 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.4107, allocations: 0 / 1.375 GB, free: 1.594 MB / 1.061 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.001517/0.4122, allocations: 0.8779 MB / 1.376 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4122, allocations: 8.031 kB / 1.376 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.4134, allocations: 212.2 kB / 1.377 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.4143, allocations: 480.8 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.4143, allocations: 33.36 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.4144, allocations: 44.36 kB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.4156, allocations: 0.9819 MB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.4157, allocations: 7.938 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.4157, allocations: 20 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.395e-05/0.4158, allocations: 64.95 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.4167, allocations: 0.5617 MB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.4211, allocations: 4.639 MB / 1.383 GB, free: 9.281 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.4217, allocations: 418.3 kB / 1.384 GB, free: 8.863 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.422, allocations: 200.7 kB / 1.384 GB, free: 8.664 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.4221, allocations: 7.984 kB / 1.384 GB, free: 8.656 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4221, allocations: 34.56 kB / 1.384 GB, free: 8.613 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.4221, allocations: 0 / 1.384 GB, free: 8.613 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002495/0.4246, allocations: 1.133 MB / 1.385 GB, free: 7.457 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.4246, allocations: 59.62 kB / 1.385 GB, free: 7.387 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004917/0.4251, allocations: 466.7 kB / 1.385 GB, free: 6.922 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4252, allocations: 29.7 kB / 1.385 GB, free: 6.887 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.4254, allocations: 376.2 kB / 1.386 GB, free: 6.512 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.4255, allocations: 127 kB / 1.386 GB, free: 6.387 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.4257, allocations: 110.2 kB / 1.386 GB, free: 6.273 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4259, allocations: 358.8 kB / 1.386 GB, free: 5.914 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.4262, allocations: 197.2 kB / 1.387 GB, free: 5.719 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.4267, allocations: 451 kB / 1.387 GB, free: 5.164 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/0.4275, allocations: 0.6992 MB / 1.388 GB, free: 4.348 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4275, allocations: 3.938 kB / 1.388 GB, free: 4.344 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001301/0.4288, allocations: 0.806 MB / 1.388 GB, free: 3.516 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.4288, allocations: 12 kB / 1.389 GB, free: 3.504 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4288, allocations: 8 kB / 1.389 GB, free: 3.496 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/0.4294, allocations: 148.1 kB / 1.389 GB, free: 3.336 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.4298, allocations: 123.8 kB / 1.389 GB, free: 3.215 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.4333, allocations: 3.973 MB / 1.393 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.4336, allocations: 35.97 kB / 1.393 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.4337, allocations: 24 kB / 1.393 GB, free: 14.88 MB / 1.092 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.0003115/0.434, allocations: 215.2 kB / 1.393 GB, free: 14.66 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.4341, allocations: 63.66 kB / 1.393 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.4351, allocations: 0.5963 MB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4351, allocations: 0 / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4351, allocations: 4 kB / 1.394 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4351, allocations: 0 / 1.394 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.4369, allocations: 1.11 MB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.437, allocations: 4 kB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.4372, allocations: 55.89 kB / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004008/0.4376, allocations: 156.4 kB / 1.395 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.4376, allocations: 4 kB / 1.395 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/0.4409, allocations: 3.958 MB / 1.399 GB, free: 8.293 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4409, allocations: 4.25 kB / 1.399 GB, free: 8.289 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4419, allocations: 0.7002 MB / 1.399 GB, free: 7.535 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.4421, allocations: 83.59 kB / 1.399 GB, free: 7.453 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.4421, allocations: 11.98 kB / 1.4 GB, free: 7.441 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.4424, allocations: 23.97 kB / 1.4 GB, free: 7.418 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.4425, allocations: 35.83 kB / 1.4 GB, free: 7.383 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.4425, allocations: 16 kB / 1.4 GB, free: 7.367 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003175/0.4428, allocations: 302.9 kB / 1.4 GB, free: 7.074 MB / 1.092 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4428, allocations: 0 / 1.4 GB, free: 7.074 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006495/0.4435, allocations: 140 kB / 1.4 GB, free: 6.938 MB / 1.092 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.0001725/0.4436, allocations: 113.2 kB / 1.4 GB, free: 6.82 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.445, allocations: 0.8587 MB / 1.401 GB, free: 5.918 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.445, allocations: 0 / 1.401 GB, free: 5.918 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007847/0.4458, allocations: 0.577 MB / 1.402 GB, free: 5.297 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.4467, allocations: 196 kB / 1.402 GB, free: 5.109 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4484, allocations: 1.067 MB / 1.403 GB, free: 3.992 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4488, allocations: 307.4 kB / 1.403 GB, free: 3.664 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.4491, allocations: 109 kB / 1.403 GB, free: 3.555 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.4492, allocations: 35.44 kB / 1.403 GB, free: 3.52 MB / 1.092 GB Notification: Performance of SimCode: time 7.51e-07/0.4492, allocations: 0 / 1.403 GB, free: 3.52 MB / 1.092 GB Notification: Performance of Templates: time 0.01536/0.4645, allocations: 8.486 MB / 1.411 GB, free: 11.23 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.715811338275671]