Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008701/0.0008701, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00128/0.00128, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.9521/0.9521, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.596e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007412/0.007438, allocations: 6.399 MB / 0.9884 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.01199, allocations: 2.989 MB / 0.9914 GB, free: 8.648 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.01243, allocations: 35.69 kB / 0.9914 GB, free: 8.613 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.01406, allocations: 0.9547 MB / 0.9923 GB, free: 7.656 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.01519, allocations: 0.5357 MB / 0.9929 GB, free: 7.117 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.01617, allocations: 434.2 kB / 0.9933 GB, free: 6.695 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.01753, allocations: 1.259 MB / 0.9945 GB, free: 5.434 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.01842, allocations: 0.5295 MB / 0.995 GB, free: 4.898 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.01943, allocations: 0.6663 MB / 0.9957 GB, free: 4.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000762/0.02019, allocations: 482.7 kB / 0.9961 GB, free: 3.758 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.02031, allocations: 68 kB / 0.9962 GB, free: 3.691 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.02097, allocations: 347.1 kB / 0.9965 GB, free: 3.352 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.02127, allocations: 331 kB / 0.9968 GB, free: 3.027 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.02163, allocations: 315.2 kB / 0.9971 GB, free: 2.719 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.02309, allocations: 1.238 MB / 0.9983 GB, free: 1.477 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.0231, allocations: 0 / 0.9983 GB, free: 1.477 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.0231, allocations: 0 / 0.9983 GB, free: 1.477 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.02313, allocations: 0 / 0.9983 GB, free: 1.477 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001891/0.02502, allocations: 1.108 MB / 0.9994 GB, free: 344 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.02506, allocations: 8.031 kB / 0.9994 GB, free: 336 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.02625, allocations: 252 kB / 0.9997 GB, free: 84 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.02711, allocations: 0.5107 MB / 1 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.02716, allocations: 53.67 kB / 1 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.02726, allocations: 60.36 kB / 1 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.02872, allocations: 1.34 MB / 1.002 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.02875, allocations: 12.08 kB / 1.002 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.02881, allocations: 36.3 kB / 1.002 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.02895, allocations: 89.19 kB / 1.002 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.03003, allocations: 0.7504 MB / 1.002 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/0.03406, allocations: 4.507 MB / 1.007 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.03493, allocations: 0.5049 MB / 1.007 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.03531, allocations: 290.2 kB / 1.008 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.03534, allocations: 8.5 kB / 1.008 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.03537, allocations: 39.06 kB / 1.008 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 3.296e-06/0.03537, allocations: 7.922 kB / 1.008 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.003074/0.03844, allocations: 1.678 MB / 1.009 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.03849, allocations: 55.91 kB / 1.009 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.03902, allocations: 0.5066 MB / 1.01 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.03906, allocations: 37.7 kB / 1.01 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.03932, allocations: 427.8 kB / 1.01 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.03946, allocations: 174.5 kB / 1.01 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.03964, allocations: 122.6 kB / 1.011 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.03978, allocations: 374.8 kB / 1.011 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.04017, allocations: 269.8 kB / 1.011 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.04069, allocations: 496.9 kB / 1.012 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000931/0.04162, allocations: 0.8125 MB / 1.012 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.04163, allocations: 4 kB / 1.012 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001132/0.04276, allocations: 1.074 MB / 1.014 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.04278, allocations: 8 kB / 1.014 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.04279, allocations: 12.86 kB / 1.014 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.04329, allocations: 275.1 kB / 1.014 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.04354, allocations: 131.7 kB / 1.014 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.04746, allocations: 6.579 MB / 1.02 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.04771, allocations: 39.95 kB / 1.02 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.04774, allocations: 36.12 kB / 1.02 GB, free: 9.75 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.04797, allocations: 245.6 kB / 1.021 GB, free: 9.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.04803, allocations: 75.55 kB / 1.021 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009199/0.04895, allocations: 0.8934 MB / 1.022 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.04895, allocations: 4 kB / 1.022 GB, free: 8.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.04895, allocations: 4 kB / 1.022 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.04896, allocations: 0 / 1.022 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.05041, allocations: 1.517 MB / 1.023 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.05041, allocations: 3.938 kB / 1.023 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.05053, allocations: 59.89 kB / 1.023 GB, free: 6.848 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.05094, allocations: 271.4 kB / 1.023 GB, free: 6.57 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.05096, allocations: 8 kB / 1.023 GB, free: 6.562 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.05454, allocations: 6.587 MB / 1.03 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.05454, allocations: 0 / 1.03 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.05542, allocations: 0.9819 MB / 1.031 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.05556, allocations: 107.5 kB / 1.031 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.05559, allocations: 12 kB / 1.031 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.05577, allocations: 32.14 kB / 1.031 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.05586, allocations: 47.8 kB / 1.031 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.05588, allocations: 20 kB / 1.031 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002766/0.05615, allocations: 342.8 kB / 1.031 GB, free: 14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.05615, allocations: 0 / 1.031 GB, free: 14 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005293/0.05668, allocations: 224 kB / 1.032 GB, free: 13.78 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.05681, allocations: 107.7 kB / 1.032 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.05794, allocations: 1.232 MB / 1.033 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.05795, allocations: 8.062 kB / 1.033 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.05858, allocations: 0.8579 MB / 1.034 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.05915, allocations: 202 kB / 1.034 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.0606, allocations: 1.399 MB / 1.035 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.06088, allocations: 411.3 kB / 1.036 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/0.06098, allocations: 44.5 kB / 1.036 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of SimCode: time 4.01e-07/0.06098, allocations: 0 / 1.036 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of Templates: time 0.4553/0.5163, allocations: 20.69 MB / 1.056 GB, free: 100 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.099010302685201]