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.001131/0.001131, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001723/0.002855, 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.001097/0.001097, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002523, 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 0.9044/0.9044, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0905/0.9949, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.308/2.308, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2398/2.548, allocations: 146 MB / 0.8176 GB, free: 3.797 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 4.148e-06/4.148e-06, allocations: 3.984 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.648e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003816/0.003843, allocations: 4.219 MB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.006251, allocations: 1.61 MB / 0.8246 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.00651, allocations: 39.62 kB / 0.8247 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.006972, allocations: 222.5 kB / 0.8249 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.007511, allocations: 469.2 kB / 0.8253 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007544/0.008265, allocations: 363.2 kB / 0.8257 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.009127, allocations: 1.213 MB / 0.8268 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.009635, allocations: 0.5198 MB / 0.8274 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.01023, allocations: 0.6702 MB / 0.828 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.0107, allocations: 482.7 kB / 0.8285 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.01077, allocations: 67.94 kB / 0.8285 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.011, allocations: 131.8 kB / 0.8287 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.01117, allocations: 279.3 kB / 0.8289 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.01134, allocations: 227.5 kB / 0.8291 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.01185, allocations: 0.6267 MB / 0.8298 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.01186, allocations: 3.938 kB / 0.8298 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01187, allocations: 0 / 0.8298 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.01188, allocations: 0 / 0.8298 GB, free: 7.32 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.0009573/0.01284, allocations: 1.083 MB / 0.8308 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.01287, allocations: 8.031 kB / 0.8308 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.01359, allocations: 349.3 kB / 0.8312 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.01411, allocations: 0.4951 MB / 0.8316 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.01414, allocations: 45.67 kB / 0.8317 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.01421, allocations: 64.36 kB / 0.8317 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.01503, allocations: 0.7744 MB / 0.8325 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.01506, allocations: 16.08 kB / 0.8325 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.01509, allocations: 32.34 kB / 0.8325 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/0.01515, allocations: 73.22 kB / 0.8326 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.0154, allocations: 248.6 kB / 0.8329 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.01755, allocations: 3.88 MB / 0.8366 GB, free: 15.92 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.01786, allocations: 256.9 kB / 0.8369 GB, free: 15.66 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.01813, allocations: 219.5 kB / 0.8371 GB, free: 15.44 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.01816, allocations: 8 kB / 0.8371 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01819, allocations: 39.25 kB / 0.8371 GB, free: 15.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 1.964e-06/0.01819, allocations: 0 / 0.8371 GB, free: 15.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.001534/0.01972, allocations: 0.8825 MB / 0.838 GB, free: 14.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.01975, allocations: 55.41 kB / 0.8381 GB, free: 14.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.01996, allocations: 411 kB / 0.8384 GB, free: 14 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.01998, allocations: 29.7 kB / 0.8385 GB, free: 13.96 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.02012, allocations: 368.8 kB / 0.8388 GB, free: 13.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.0202, allocations: 158.7 kB / 0.839 GB, free: 13.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.02031, allocations: 106.2 kB / 0.8391 GB, free: 13.33 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02042, allocations: 370.6 kB / 0.8394 GB, free: 12.96 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.64e-05/0.0205, allocations: 65.28 kB / 0.8395 GB, free: 12.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.02103, allocations: 277 kB / 0.8398 GB, free: 12.53 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.02133, allocations: 445.4 kB / 0.8402 GB, free: 12 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02133, allocations: 0 / 0.8402 GB, free: 12 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000629/0.02196, allocations: 0.5584 MB / 0.8407 GB, free: 11.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.02199, allocations: 9.406 kB / 0.8407 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.022, allocations: 8 kB / 0.8407 GB, free: 11.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.02251, allocations: 246.5 kB / 0.841 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.02268, allocations: 91.84 kB / 0.8411 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.02614, allocations: 5.433 MB / 0.8464 GB, free: 5.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.02632, allocations: 16 kB / 0.8464 GB, free: 5.215 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.02635, allocations: 24 kB / 0.8464 GB, free: 5.191 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.0001574/0.0265, allocations: 144.5 kB / 0.8466 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.02656, allocations: 55.94 kB / 0.8466 GB, free: 4.984 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.02712, allocations: 464.8 kB / 0.847 GB, free: 4.504 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02713, allocations: 4 kB / 0.8471 GB, free: 4.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.02713, allocations: 4 kB / 0.8471 GB, free: 4.496 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.02713, allocations: 0 / 0.8471 GB, free: 4.496 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.02809, allocations: 0.8839 MB / 0.8479 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.02809, allocations: 0 / 0.8479 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.02817, allocations: 35.98 kB / 0.848 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.02825, allocations: 75.58 kB / 0.848 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.0287, allocations: 238.5 kB / 0.8483 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.02872, allocations: 8 kB / 0.8483 GB, free: 3.184 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.03186, allocations: 5.414 MB / 0.8535 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03186, allocations: 0 / 0.8535 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.03244, allocations: 0.5922 MB / 0.8541 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.03247, allocations: 15.88 kB / 0.8541 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.03258, allocations: 12 kB / 0.8542 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.03266, allocations: 35.92 kB / 0.8542 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.03268, allocations: 15.98 kB / 0.8542 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001075/0.03278, allocations: 164.4 kB / 0.8544 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.03278, allocations: 0 / 0.8544 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005489/0.03333, allocations: 196 kB / 0.8545 GB, free: 12.3 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.0001332/0.03347, allocations: 100.3 kB / 0.8546 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000783/0.03425, allocations: 0.864 MB / 0.8555 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.119e-05/0.03427, allocations: 12.5 kB / 0.8555 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.03479, allocations: 0.7203 MB / 0.8562 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009023/0.03569, allocations: 1.667 MB / 0.8578 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.03888, allocations: 1.198 MB / 0.859 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.03902, allocations: 202.3 kB / 0.8592 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.03918, allocations: 65.03 kB / 0.8593 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.03941, allocations: 173.2 kB / 0.8594 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.03941, allocations: 3.938 kB / 0.8594 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of Templates: time 0.01541/0.05482, allocations: 11.33 MB / 0.8705 GB, free: 11.66 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.240076582878828]