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.000822/0.000822, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001887, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007362/0.0007362, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008668/0.001603, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9603/0.9603, allocations: 177.1 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08455/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.43/2.43, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2549/2.685, allocations: 145.9 MB / 0.817 GB, free: 4.207 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.993e-06/1.993e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.406e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005446/0.005481, allocations: 3.863 MB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.00887, allocations: 1.427 MB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.009448, allocations: 35.62 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.01021, allocations: 186.6 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009384/0.01115, allocations: 377.6 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.01188, allocations: 315.4 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.01277, allocations: 0.972 MB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.01318, allocations: 310.5 kB / 0.8256 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.0138, allocations: 0.522 MB / 0.8261 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.01423, allocations: 339 kB / 0.8264 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.01427, allocations: 36 kB / 0.8264 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.0145, allocations: 111.8 kB / 0.8265 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01463, allocations: 167.4 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.01478, allocations: 171.6 kB / 0.8269 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.01528, allocations: 494 kB / 0.8273 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.696e-05/0.0153, allocations: 0 / 0.8273 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.563e-06/0.0153, allocations: 0 / 0.8273 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.01532, allocations: 4 kB / 0.8273 GB, free: 9.578 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.0009121/0.01623, allocations: 0.9313 MB / 0.8283 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.01627, allocations: 12.56 kB / 0.8283 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.01684, allocations: 277.6 kB / 0.8285 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.01734, allocations: 479.1 kB / 0.829 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.01736, allocations: 33.36 kB / 0.829 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.01742, allocations: 52.36 kB / 0.8291 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.01794, allocations: 0.7231 MB / 0.8298 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.01796, allocations: 16.06 kB / 0.8298 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.01799, allocations: 24.36 kB / 0.8298 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.01805, allocations: 64.89 kB / 0.8299 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.01827, allocations: 238.3 kB / 0.8301 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.02041, allocations: 4.162 MB / 0.8342 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.02069, allocations: 289.1 kB / 0.8344 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.02077, allocations: 64.78 kB / 0.8345 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.02079, allocations: 8 kB / 0.8345 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.02082, allocations: 42.56 kB / 0.8346 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 3.036e-06/0.02082, allocations: 0 / 0.8346 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0009071/0.02173, allocations: 0.4963 MB / 0.835 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.02176, allocations: 59.67 kB / 0.8351 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.022, allocations: 439 kB / 0.8355 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.02202, allocations: 33.7 kB / 0.8355 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.02215, allocations: 325.2 kB / 0.8359 GB, free: 384 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.02222, allocations: 122.9 kB / 0.836 GB, free: 260 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.02232, allocations: 106.2 kB / 0.8361 GB, free: 148 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.02246, allocations: 370.6 kB / 0.8364 GB, free: 15.77 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.02253, allocations: 53.3 kB / 0.8365 GB, free: 15.72 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.02273, allocations: 323.3 kB / 0.8368 GB, free: 15.29 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.02307, allocations: 448.1 kB / 0.8372 GB, free: 14.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.02307, allocations: 4 kB / 0.8372 GB, free: 14.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004752/0.02355, allocations: 483 kB / 0.8377 GB, free: 14.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.02357, allocations: 12.97 kB / 0.8377 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.02358, allocations: 8 kB / 0.8377 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/0.02385, allocations: 114.4 kB / 0.8378 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.0241, allocations: 135.8 kB / 0.8379 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.026, allocations: 3.595 MB / 0.8414 GB, free: 10.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.02617, allocations: 16 kB / 0.8415 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.02619, allocations: 24 kB / 0.8415 GB, free: 10.02 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.0001369/0.02633, allocations: 164.5 kB / 0.8416 GB, free: 9.852 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.02638, allocations: 47.94 kB / 0.8417 GB, free: 9.805 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.02674, allocations: 317.2 kB / 0.842 GB, free: 9.461 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.02674, allocations: 3.938 kB / 0.842 GB, free: 9.457 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.02674, allocations: 4 kB / 0.842 GB, free: 9.453 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.02675, allocations: 0 / 0.842 GB, free: 9.453 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.02746, allocations: 0.6856 MB / 0.8427 GB, free: 8.699 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.02746, allocations: 224 / 0.8427 GB, free: 8.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.02759, allocations: 55.97 kB / 0.8427 GB, free: 8.645 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.02768, allocations: 71.59 kB / 0.8428 GB, free: 8.574 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.02789, allocations: 110.3 kB / 0.8429 GB, free: 8.445 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.02791, allocations: 8 kB / 0.8429 GB, free: 8.438 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.02961, allocations: 3.603 MB / 0.8464 GB, free: 4.543 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.02962, allocations: 0 / 0.8464 GB, free: 4.543 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.03004, allocations: 466 kB / 0.8469 GB, free: 4.027 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.03008, allocations: 12 kB / 0.8469 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.03018, allocations: 12.16 kB / 0.8469 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.03023, allocations: 35.88 kB / 0.8469 GB, free: 3.969 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.03024, allocations: 11.98 kB / 0.8469 GB, free: 3.957 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001181/0.03036, allocations: 180.4 kB / 0.8471 GB, free: 3.781 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03036, allocations: 3.938 kB / 0.8471 GB, free: 3.777 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004139/0.03077, allocations: 144 kB / 0.8472 GB, free: 3.637 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.000127/0.0309, allocations: 88.41 kB / 0.8473 GB, free: 3.539 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006179/0.03152, allocations: 0.6263 MB / 0.8479 GB, free: 2.867 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-05/0.03154, allocations: 8.5 kB / 0.848 GB, free: 2.859 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.03186, allocations: 472.6 kB / 0.8484 GB, free: 2.352 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.03241, allocations: 237.5 kB / 0.8486 GB, free: 2.125 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.03502, allocations: 0.9812 MB / 0.8496 GB, free: 1.086 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.03516, allocations: 150 kB / 0.8497 GB, free: 0.918 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.03542, allocations: 72.97 kB / 0.8498 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.03569, allocations: 181.2 kB / 0.85 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of SimCode: time 2.995e-06/0.0357, allocations: 0 / 0.85 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of Templates: time 0.01182/0.04752, allocations: 8.688 MB / 0.8585 GB, free: 8.172 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.56028698105365]