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.0008128/0.0008128, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001915, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000691/0.000691, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009452/0.001636, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1492/1.168, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.474/2.474, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.316/2.79, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.621e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003983/0.003999, allocations: 3.862 MB / 0.8227 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.005842, allocations: 1.423 MB / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.006031, allocations: 35.62 kB / 0.8241 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.006457, allocations: 194.5 kB / 0.8243 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.006869, allocations: 377.6 kB / 0.8247 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.007235, allocations: 315.4 kB / 0.825 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000697/0.007932, allocations: 0.9681 MB / 0.8259 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.008317, allocations: 314.5 kB / 0.8262 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.008814, allocations: 0.5297 MB / 0.8267 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.009205, allocations: 339 kB / 0.827 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.009252, allocations: 36 kB / 0.8271 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.009429, allocations: 103.8 kB / 0.8272 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.009555, allocations: 175.4 kB / 0.8273 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.009697, allocations: 171.6 kB / 0.8275 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.01013, allocations: 490 kB / 0.828 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.01015, allocations: 0 / 0.828 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01015, allocations: 0 / 0.828 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.01016, allocations: 0 / 0.828 GB, free: 9.172 MB / 0.8073 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.001298/0.01146, allocations: 0.9429 MB / 0.8289 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.0115, allocations: 8.031 kB / 0.8289 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/0.01211, allocations: 273.6 kB / 0.8292 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.0126, allocations: 479.1 kB / 0.8296 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.01262, allocations: 29.38 kB / 0.8297 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.01268, allocations: 48.36 kB / 0.8297 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.01319, allocations: 0.7231 MB / 0.8304 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.01321, allocations: 16.08 kB / 0.8304 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.01325, allocations: 28.34 kB / 0.8304 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/0.01332, allocations: 64.91 kB / 0.8305 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.01354, allocations: 234.3 kB / 0.8307 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.01564, allocations: 4.158 MB / 0.8348 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.01591, allocations: 297.1 kB / 0.8351 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.01599, allocations: 56.84 kB / 0.8351 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.01601, allocations: 8 kB / 0.8351 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.01604, allocations: 46.53 kB / 0.8352 GB, free: 1.363 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 1.402e-06/0.01604, allocations: 3.938 kB / 0.8352 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.00127/0.01731, allocations: 0.5047 MB / 0.8357 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.01734, allocations: 55.69 kB / 0.8357 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.01759, allocations: 447 kB / 0.8362 GB, free: 320 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.01761, allocations: 37.7 kB / 0.8362 GB, free: 276 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.01775, allocations: 321.3 kB / 0.8365 GB, free: 15.95 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/0.01781, allocations: 119 kB / 0.8366 GB, free: 15.83 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.01791, allocations: 114.2 kB / 0.8367 GB, free: 15.71 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01801, allocations: 366.4 kB / 0.8371 GB, free: 15.35 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.01808, allocations: 61.28 kB / 0.8371 GB, free: 15.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01826, allocations: 311.3 kB / 0.8374 GB, free: 14.87 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.01858, allocations: 475 kB / 0.8379 GB, free: 14.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01858, allocations: 0 / 0.8379 GB, free: 14.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004704/0.01905, allocations: 495.5 kB / 0.8384 GB, free: 13.78 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.01907, allocations: 9.25 kB / 0.8384 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.01908, allocations: 8 kB / 0.8384 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.01935, allocations: 130.6 kB / 0.8385 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.0196, allocations: 127.8 kB / 0.8386 GB, free: 13.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.0217, allocations: 3.59 MB / 0.8421 GB, free: 9.609 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.02185, allocations: 24.19 kB / 0.8421 GB, free: 9.586 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.02188, allocations: 31.98 kB / 0.8422 GB, free: 9.555 MB / 0.823 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.000129/0.022, allocations: 152.4 kB / 0.8423 GB, free: 9.395 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.02205, allocations: 43.95 kB / 0.8424 GB, free: 9.352 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.02242, allocations: 312.9 kB / 0.8427 GB, free: 9.012 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.02242, allocations: 4 kB / 0.8427 GB, free: 9.008 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.02243, allocations: 4 kB / 0.8427 GB, free: 9.004 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.02243, allocations: 7.984 kB / 0.8427 GB, free: 8.996 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.02311, allocations: 0.676 MB / 0.8433 GB, free: 8.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02311, allocations: 0 / 0.8433 GB, free: 8.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.02323, allocations: 47.92 kB / 0.8434 GB, free: 8.207 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.0233, allocations: 71.59 kB / 0.8435 GB, free: 8.137 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.0235, allocations: 118.5 kB / 0.8436 GB, free: 8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.02352, allocations: 8 kB / 0.8436 GB, free: 7.992 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.0251, allocations: 3.607 MB / 0.8471 GB, free: 4.094 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.0251, allocations: 0 / 0.8471 GB, free: 4.094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.02547, allocations: 462 kB / 0.8475 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.0255, allocations: 15.92 kB / 0.8476 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.0256, allocations: 8 kB / 0.8476 GB, free: 3.559 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.02564, allocations: 39.81 kB / 0.8476 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.02565, allocations: 4 kB / 0.8476 GB, free: 3.516 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001144/0.02577, allocations: 184.4 kB / 0.8478 GB, free: 3.336 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-08/0.02577, allocations: 0 / 0.8478 GB, free: 3.336 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003433/0.02611, allocations: 140 kB / 0.8479 GB, free: 3.199 MB / 0.823 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.0001392/0.02625, allocations: 92.39 kB / 0.848 GB, free: 3.098 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006179/0.02687, allocations: 0.6321 MB / 0.8486 GB, free: 2.422 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/0.02689, allocations: 12.5 kB / 0.8486 GB, free: 2.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.02757, allocations: 499.6 kB / 0.8491 GB, free: 1.875 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009839/0.02855, allocations: 1.808 MB / 0.8509 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.03066, allocations: 0.9917 MB / 0.8518 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.03077, allocations: 158 kB / 0.852 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.03091, allocations: 69.08 kB / 0.8521 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.03114, allocations: 181.2 kB / 0.8522 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of SimCode: time 1.232e-06/0.03114, allocations: 0 / 0.8522 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.01052/0.04166, allocations: 8.583 MB / 0.8606 GB, free: 5.84 MB / 0.8386 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.604840124025941]