Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.002369/0.002369, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002855/0.002855, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.394/3.394, allocations: 429.5 MB / 0.6729 GB, free: 3.984 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.501e-05, allocations: 4.984 kB / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008975/0.009, allocations: 5.592 MB / 0.8829 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.01415, allocations: 2.694 MB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.01446, allocations: 35.69 kB / 0.8856 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.01652, allocations: 0.6976 MB / 0.8863 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009961/0.01752, allocations: 439.4 kB / 0.8867 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.01875, allocations: 422.7 kB / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.02002, allocations: 0.9863 MB / 0.888 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.02065, allocations: 382.5 kB / 0.8884 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.02144, allocations: 0.5182 MB / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.02206, allocations: 374.9 kB / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.02216, allocations: 48 kB / 0.8893 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006284/0.02279, allocations: 327.1 kB / 0.8896 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.02312, allocations: 271.2 kB / 0.8899 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.02345, allocations: 231.4 kB / 0.8901 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.0248, allocations: 1.005 MB / 0.8911 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.0248, allocations: 0 / 0.8911 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.406e-06/0.02481, allocations: 11.98 kB / 0.8911 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.02482, allocations: 0 / 0.8911 GB, free: 8.672 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001849/0.02667, allocations: 1.056 MB / 0.8921 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.0267, allocations: 8.031 kB / 0.8921 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.02824, allocations: 295.8 kB / 0.8924 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.02921, allocations: 491 kB / 0.8929 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.02925, allocations: 37.36 kB / 0.8929 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.02942, allocations: 68.48 kB / 0.893 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.03069, allocations: 0.8372 MB / 0.8938 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.03072, allocations: 8.125 kB / 0.8938 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.03079, allocations: 32.11 kB / 0.8938 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.031, allocations: 60.95 kB / 0.8939 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.03189, allocations: 319.5 kB / 0.8942 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.03718, allocations: 4.563 MB / 0.8987 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.03756, allocations: 163.8 kB / 0.8988 GB, free: 380 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.03779, allocations: 104.2 kB / 0.8989 GB, free: 272 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.03782, allocations: 12.22 kB / 0.8989 GB, free: 260 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.03786, allocations: 37.66 kB / 0.899 GB, free: 212 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.03786, allocations: 0 / 0.899 GB, free: 212 kB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.005003/0.04287, allocations: 1.654 MB / 0.9006 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.04292, allocations: 59.39 kB / 0.9006 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.04374, allocations: 0.5297 MB / 0.9012 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.04378, allocations: 33.7 kB / 0.9012 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.04414, allocations: 419.2 kB / 0.9016 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.0443, allocations: 158.7 kB / 0.9017 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.04451, allocations: 123.9 kB / 0.9019 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003408/0.04485, allocations: 0.5586 MB / 0.9024 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.04514, allocations: 125.2 kB / 0.9025 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.04567, allocations: 387.2 kB / 0.9029 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.04653, allocations: 0.5333 MB / 0.9034 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.04653, allocations: 0 / 0.9034 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001629/0.04816, allocations: 0.6953 MB / 0.9041 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.04818, allocations: 8 kB / 0.9041 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.04819, allocations: 4 kB / 0.9041 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.0494, allocations: 247.5 kB / 0.9043 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.04994, allocations: 111.8 kB / 0.9044 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006541/0.05648, allocations: 5.811 MB / 0.9101 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.05695, allocations: 31.97 kB / 0.9101 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.057, allocations: 23.94 kB / 0.9102 GB, free: 4.008 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002964/0.0573, allocations: 212.4 kB / 0.9104 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.05743, allocations: 71.62 kB / 0.9104 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.05891, allocations: 0.5355 MB / 0.911 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.05892, allocations: 4 kB / 0.911 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.05892, allocations: 0 / 0.911 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.05893, allocations: 4 kB / 0.911 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.06151, allocations: 1.193 MB / 0.9121 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.06151, allocations: 0 / 0.9121 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.06193, allocations: 67.89 kB / 0.9122 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.06302, allocations: 231.2 kB / 0.9124 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.06306, allocations: 11.94 kB / 0.9124 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006651/0.06971, allocations: 5.8 MB / 0.9181 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/0.06972, allocations: 11.92 kB / 0.9181 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.07146, allocations: 0.8081 MB / 0.9189 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.07178, allocations: 95.64 kB / 0.919 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.07186, allocations: 15.88 kB / 0.919 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.0722, allocations: 27.97 kB / 0.919 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.07232, allocations: 35.88 kB / 0.9191 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.07235, allocations: 15.98 kB / 0.9191 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000436/0.07279, allocations: 346.8 kB / 0.9194 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.1e-08/0.07279, allocations: 0 / 0.9194 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007194/0.07351, allocations: 168 kB / 0.9196 GB, free: 9.82 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.0737, allocations: 111.2 kB / 0.9197 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.07542, allocations: 0.9716 MB / 0.9206 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.07542, allocations: 0 / 0.9206 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.07662, allocations: 0.7674 MB / 0.9214 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/0.07753, allocations: 179.1 kB / 0.9215 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.07986, allocations: 1.172 MB / 0.9227 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.08027, allocations: 338.2 kB / 0.923 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003143/0.08059, allocations: 92.8 kB / 0.9231 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.0807, allocations: 36.5 kB / 0.9231 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/0.08071, allocations: 0 / 0.9231 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of Templates: time 0.01856/0.09926, allocations: 9.181 MB / 0.9321 GB, free: 12.99 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 8.799908462911844]