Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001178/0.001178, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002772, 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002372, 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.9081/0.9081, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.092/1, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.337/2.337, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2655/2.602, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.195e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005771/0.005792, allocations: 4.218 MB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.008473, allocations: 1.609 MB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.008729, allocations: 39.62 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.009302, allocations: 214.5 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007026/0.01, allocations: 473.1 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.01062, allocations: 359.2 kB / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.01174, allocations: 1.213 MB / 0.8262 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000692/0.01243, allocations: 0.5159 MB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.01319, allocations: 0.6702 MB / 0.8274 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.0138, allocations: 482.6 kB / 0.8278 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.149e-05/0.01388, allocations: 60 kB / 0.8279 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.01415, allocations: 139.7 kB / 0.828 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.01441, allocations: 287.2 kB / 0.8283 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.01469, allocations: 227.5 kB / 0.8285 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.01538, allocations: 0.6189 MB / 0.8291 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.63e-05/0.01539, allocations: 0 / 0.8291 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.465e-06/0.01539, allocations: 3.984 kB / 0.8291 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.01541, allocations: 0 / 0.8291 GB, free: 7.758 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001349/0.01676, allocations: 1.083 MB / 0.8302 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.0168, allocations: 12.62 kB / 0.8302 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.01788, allocations: 341.3 kB / 0.8305 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.01862, allocations: 0.4951 MB / 0.831 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.01866, allocations: 49.67 kB / 0.8311 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/0.01876, allocations: 64.36 kB / 0.8311 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.01962, allocations: 0.7738 MB / 0.8319 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.01965, allocations: 16.02 kB / 0.8319 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.01971, allocations: 32.36 kB / 0.8319 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.2e-05/0.0198, allocations: 77.2 kB / 0.832 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.02022, allocations: 248.6 kB / 0.8322 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.02327, allocations: 3.884 MB / 0.836 GB, free: 356 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.02371, allocations: 245.2 kB / 0.8363 GB, free: 100 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.02417, allocations: 216.7 kB / 0.8365 GB, free: 15.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.0242, allocations: 8 kB / 0.8365 GB, free: 15.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.02423, allocations: 34.56 kB / 0.8365 GB, free: 15.83 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.02423, allocations: 4 kB / 0.8365 GB, free: 15.83 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.002367/0.0266, allocations: 0.8754 MB / 0.8374 GB, free: 14.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.02663, allocations: 59.34 kB / 0.8374 GB, free: 14.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.02695, allocations: 411 kB / 0.8378 GB, free: 14.45 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.02698, allocations: 33.7 kB / 0.8378 GB, free: 14.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.02716, allocations: 360.9 kB / 0.8382 GB, free: 14.04 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.02728, allocations: 154.7 kB / 0.8383 GB, free: 13.89 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.02743, allocations: 106.2 kB / 0.8384 GB, free: 13.78 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.02755, allocations: 374.6 kB / 0.8388 GB, free: 13.41 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.02767, allocations: 61.3 kB / 0.8388 GB, free: 13.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.02792, allocations: 281 kB / 0.8391 GB, free: 12.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.02838, allocations: 413.6 kB / 0.8395 GB, free: 12.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.02838, allocations: 4 kB / 0.8395 GB, free: 12.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00101/0.02939, allocations: 0.5544 MB / 0.8401 GB, free: 11.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.02942, allocations: 10.5 kB / 0.8401 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.02943, allocations: 12.06 kB / 0.8401 GB, free: 11.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008331/0.03026, allocations: 250.5 kB / 0.8403 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.03054, allocations: 99.89 kB / 0.8404 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/0.03525, allocations: 5.42 MB / 0.8457 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.03549, allocations: 19.94 kB / 0.8457 GB, free: 5.691 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.03553, allocations: 20.09 kB / 0.8457 GB, free: 5.672 MB / 0.823 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.0357, allocations: 148.5 kB / 0.8459 GB, free: 5.516 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.0358, allocations: 55.92 kB / 0.8459 GB, free: 5.461 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008878/0.03668, allocations: 468.8 kB / 0.8464 GB, free: 4.977 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.03669, allocations: 4 kB / 0.8464 GB, free: 4.973 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.0367, allocations: 4 kB / 0.8464 GB, free: 4.969 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.0367, allocations: 0 / 0.8464 GB, free: 4.969 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.03814, allocations: 0.8993 MB / 0.8473 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.03815, allocations: 0 / 0.8473 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.03829, allocations: 35.92 kB / 0.8473 GB, free: 3.973 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.03843, allocations: 79.56 kB / 0.8474 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007199/0.03915, allocations: 234.6 kB / 0.8476 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.03918, allocations: 12 kB / 0.8476 GB, free: 3.637 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/0.04369, allocations: 5.421 MB / 0.8529 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.0437, allocations: 0 / 0.8529 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.04458, allocations: 0.591 MB / 0.8535 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.04464, allocations: 15.94 kB / 0.8535 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.04483, allocations: 4 kB / 0.8535 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.04491, allocations: 47.86 kB / 0.8535 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.04494, allocations: 8 kB / 0.8536 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000165/0.04511, allocations: 168.4 kB / 0.8537 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.04511, allocations: 0 / 0.8537 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006138/0.04572, allocations: 204 kB / 0.8539 GB, free: 12.75 MB / 0.8386 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.04585, allocations: 96.3 kB / 0.854 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.04699, allocations: 0.8593 MB / 0.8548 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-05/0.04702, allocations: 8.5 kB / 0.8549 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.04784, allocations: 0.6996 MB / 0.8555 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.04858, allocations: 245.2 kB / 0.8558 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.05384, allocations: 1.194 MB / 0.8569 GB, free: 9.496 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.05403, allocations: 202.2 kB / 0.8571 GB, free: 9.277 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.05423, allocations: 65.03 kB / 0.8572 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.05454, allocations: 165.3 kB / 0.8573 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of SimCode: time 8.41e-07/0.05454, allocations: 0 / 0.8573 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of Templates: time 0.01917/0.07371, allocations: 11.33 MB / 0.8684 GB, free: 13.91 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.3343333108350635]