Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001415/0.001415, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001598/0.001598, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.504/1.504, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.747/2.747, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.887e-05/4.105e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009974/0.01001, allocations: 5.835 MB / 0.7921 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006101/0.01612, allocations: 3.082 MB / 0.7951 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006456/0.01676, allocations: 43.62 kB / 0.7951 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.01974, allocations: 0.9345 MB / 0.796 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.02131, allocations: 0.4969 MB / 0.7965 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.02273, allocations: 493 kB / 0.797 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.02451, allocations: 1.123 MB / 0.7981 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.02559, allocations: 0.5061 MB / 0.7986 GB, free: 288 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.02698, allocations: 0.6123 MB / 0.7992 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008653/0.02784, allocations: 427.5 kB / 0.7996 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.02801, allocations: 56.53 kB / 0.7996 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.02903, allocations: 450.7 kB / 0.8001 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.02946, allocations: 316.8 kB / 0.8004 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.02993, allocations: 267.3 kB / 0.8006 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.03188, allocations: 1.199 MB / 0.8018 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.03189, allocations: 0 / 0.8018 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.771e-06/0.03189, allocations: 8.484 kB / 0.8018 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.472e-05/0.03193, allocations: 8.469 kB / 0.8018 GB, free: 12.96 MB / 0.7605 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.002148/0.03407, allocations: 0.986 MB / 0.8028 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.03412, allocations: 8.031 kB / 0.8028 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.036, allocations: 344.5 kB / 0.8031 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.0371, allocations: 0.5522 MB / 0.8037 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.03715, allocations: 41.69 kB / 0.8037 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.03729, allocations: 68.36 kB / 0.8038 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.03909, allocations: 1.138 MB / 0.8049 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.03912, allocations: 9.328 kB / 0.8049 GB, free: 9.641 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.0392, allocations: 28.38 kB / 0.8049 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.03931, allocations: 69.16 kB / 0.805 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.04053, allocations: 0.6935 MB / 0.8056 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/0.04611, allocations: 4.392 MB / 0.8099 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009257/0.04704, allocations: 416 kB / 0.8103 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000876/0.04791, allocations: 394.9 kB / 0.8107 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.04795, allocations: 4 kB / 0.8107 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.04798, allocations: 42.56 kB / 0.8108 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.455e-06/0.04799, allocations: 0 / 0.8108 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.00467/0.05266, allocations: 1.738 MB / 0.8125 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.05271, allocations: 55.41 kB / 0.8125 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.05327, allocations: 433.7 kB / 0.8129 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.05331, allocations: 33.69 kB / 0.813 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.05364, allocations: 388.1 kB / 0.8133 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.05381, allocations: 162.6 kB / 0.8135 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.05401, allocations: 118.2 kB / 0.8136 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.05422, allocations: 358.8 kB / 0.8139 GB, free: 140 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.05464, allocations: 241.2 kB / 0.8142 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.05525, allocations: 461 kB / 0.8146 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.05636, allocations: 0.7556 MB / 0.8153 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.05637, allocations: 4 kB / 0.8153 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002156/0.05853, allocations: 1.062 MB / 0.8164 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.05855, allocations: 12.03 kB / 0.8164 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.05857, allocations: 8 kB / 0.8164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.05991, allocations: 359.1 kB / 0.8167 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.06029, allocations: 99.77 kB / 0.8168 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/0.06891, allocations: 6.993 MB / 0.8237 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.06937, allocations: 35.92 kB / 0.8237 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.726e-05/0.06944, allocations: 28 kB / 0.8237 GB, free: 5.473 MB / 0.7761 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.0005107/0.06995, allocations: 241.5 kB / 0.824 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.07013, allocations: 75.66 kB / 0.824 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.07204, allocations: 0.888 MB / 0.8249 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.07205, allocations: 4 kB / 0.8249 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.07206, allocations: 4 kB / 0.8249 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.07207, allocations: 11.92 kB / 0.8249 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.07505, allocations: 1.507 MB / 0.8264 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.07506, allocations: 4 kB / 0.8264 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.07524, allocations: 39.91 kB / 0.8264 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.07646, allocations: 347.2 kB / 0.8268 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.0765, allocations: 16 kB / 0.8268 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008758/0.08526, allocations: 6.988 MB / 0.8336 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.08526, allocations: 4 kB / 0.8336 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.08723, allocations: 0.9959 MB / 0.8346 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.08755, allocations: 103.5 kB / 0.8347 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.08765, allocations: 12 kB / 0.8347 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.08793, allocations: 15.98 kB / 0.8347 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.08807, allocations: 47.67 kB / 0.8347 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.0881, allocations: 8 kB / 0.8348 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004138/0.08851, allocations: 290.8 kB / 0.835 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.08851, allocations: 0 / 0.835 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009648/0.08948, allocations: 196 kB / 0.8352 GB, free: 9.141 MB / 0.7917 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.0001963/0.08968, allocations: 119.2 kB / 0.8353 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.0918, allocations: 1.158 MB / 0.8365 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.0918, allocations: 0 / 0.8365 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.09331, allocations: 0.8375 MB / 0.8373 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.09435, allocations: 197.8 kB / 0.8375 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.09707, allocations: 1.241 MB / 0.8387 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.09769, allocations: 402.6 kB / 0.8391 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003417/0.09803, allocations: 101 kB / 0.8392 GB, free: 4.918 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.09814, allocations: 36.5 kB / 0.8392 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of SimCode: time 1.432e-06/0.09814, allocations: 0 / 0.8392 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of Templates: time 0.02299/0.1211, allocations: 10.41 MB / 0.8494 GB, free: 10.69 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.105765526997857]