Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.0008485/0.0008485, 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.0008549/0.0008549, 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.9252/0.9252, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.711/1.711, allocations: 377.9 MB / 0.6228 GB, free: 8.641 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_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.959e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004558/0.004587, allocations: 5.218 MB / 0.9873 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.00712, allocations: 2.576 MB / 0.9898 GB, free: 10.23 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.007325, allocations: 31.69 kB / 0.9898 GB, free: 10.2 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.008245, allocations: 0.6745 MB / 0.9905 GB, free: 9.52 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.008777, allocations: 449.2 kB / 0.9909 GB, free: 9.078 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.009262, allocations: 402.2 kB / 0.9913 GB, free: 8.688 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.009883, allocations: 0.9862 MB / 0.9923 GB, free: 7.699 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.01027, allocations: 378.5 kB / 0.9926 GB, free: 7.324 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.01078, allocations: 0.5143 MB / 0.9931 GB, free: 6.809 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.01113, allocations: 370.9 kB / 0.9935 GB, free: 6.445 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.01118, allocations: 48 kB / 0.9935 GB, free: 6.398 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.01151, allocations: 331.2 kB / 0.9938 GB, free: 6.074 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.01169, allocations: 267.2 kB / 0.9941 GB, free: 5.812 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.01184, allocations: 239.4 kB / 0.9943 GB, free: 5.578 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.01256, allocations: 0.9852 MB / 0.9953 GB, free: 4.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01257, allocations: 4 kB / 0.9953 GB, free: 4.586 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01257, allocations: 0 / 0.9953 GB, free: 4.586 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.01258, allocations: 3.938 kB / 0.9953 GB, free: 4.582 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001002/0.01358, allocations: 0.9131 MB / 0.9962 GB, free: 3.637 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.01362, allocations: 8.031 kB / 0.9962 GB, free: 3.629 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/0.01433, allocations: 196.3 kB / 0.9964 GB, free: 3.438 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.01484, allocations: 462.8 kB / 0.9968 GB, free: 2.961 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.01486, allocations: 37.36 kB / 0.9969 GB, free: 2.922 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.01497, allocations: 56.55 kB / 0.9969 GB, free: 2.867 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.01573, allocations: 0.975 MB / 0.9979 GB, free: 1.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01575, allocations: 8.109 kB / 0.9979 GB, free: 1.762 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.01579, allocations: 36.05 kB / 0.9979 GB, free: 1.727 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.01589, allocations: 64.95 kB / 0.998 GB, free: 1.664 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.01645, allocations: 0.5697 MB / 0.9985 GB, free: 1.094 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.01879, allocations: 3.48 MB / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.0191, allocations: 271.3 kB / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.01929, allocations: 209.3 kB / 1.002 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.01931, allocations: 8.219 kB / 1.002 GB, free: 13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.01933, allocations: 38.84 kB / 1.002 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.01933, allocations: 0 / 1.002 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.003134/0.02247, allocations: 2.34 MB / 1.005 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.0225, allocations: 55.41 kB / 1.005 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.02277, allocations: 421.7 kB / 1.005 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.0228, allocations: 33.7 kB / 1.005 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.02295, allocations: 356.4 kB / 1.006 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.02302, allocations: 150.7 kB / 1.006 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.02313, allocations: 102.3 kB / 1.006 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.02322, allocations: 362.7 kB / 1.006 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.02345, allocations: 233.2 kB / 1.006 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.02376, allocations: 415.3 kB / 1.007 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.02437, allocations: 0.67 MB / 1.007 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02437, allocations: 8 kB / 1.007 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009559/0.02533, allocations: 0.9054 MB / 1.008 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.02535, allocations: 11.98 kB / 1.008 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.02535, allocations: 4 kB / 1.008 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.02577, allocations: 227 kB / 1.009 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.02604, allocations: 115.9 kB / 1.009 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.02899, allocations: 4.934 MB / 1.013 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.02919, allocations: 36.16 kB / 1.013 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.02921, allocations: 32.06 kB / 1.014 GB, free: 1.02 MB / 0.9636 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.0002435/0.02946, allocations: 225.6 kB / 1.014 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.02951, allocations: 55.67 kB / 1.014 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.03037, allocations: 0.7616 MB / 1.015 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.03037, allocations: 7.938 kB / 1.015 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.03037, allocations: 3.984 kB / 1.015 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.03038, allocations: 0 / 1.015 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.03171, allocations: 1.322 MB / 1.016 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.03171, allocations: 4 kB / 1.016 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.0319, allocations: 67.88 kB / 1.016 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/0.03223, allocations: 202.6 kB / 1.016 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.03225, allocations: 12 kB / 1.016 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/0.03493, allocations: 4.876 MB / 1.021 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03493, allocations: 0 / 1.021 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.03595, allocations: 1.116 MB / 1.022 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.03607, allocations: 91.66 kB / 1.022 GB, free: 7.816 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.0361, allocations: 15.94 kB / 1.022 GB, free: 7.801 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.03625, allocations: 23.97 kB / 1.022 GB, free: 7.777 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.03631, allocations: 35.88 kB / 1.022 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.03633, allocations: 15.98 kB / 1.022 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000185/0.03651, allocations: 283.1 kB / 1.022 GB, free: 7.449 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03651, allocations: 4.062 kB / 1.022 GB, free: 7.445 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000437/0.03695, allocations: 168 kB / 1.023 GB, free: 7.281 MB / 0.9792 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.0001263/0.03708, allocations: 119.1 kB / 1.023 GB, free: 7.156 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009275/0.038, allocations: 0.97 MB / 1.024 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.03801, allocations: 0 / 1.024 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.0385, allocations: 0.6602 MB / 1.024 GB, free: 5.449 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.03901, allocations: 171.4 kB / 1.024 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.04032, allocations: 1.287 MB / 1.026 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.04055, allocations: 354 kB / 1.026 GB, free: 3.578 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.04064, allocations: 40.5 kB / 1.026 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of SimCode: time 1.122e-06/0.04064, allocations: 0 / 1.026 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of Templates: time 0.0105/0.05114, allocations: 14.92 MB / 1.041 GB, free: 4.652 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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.637227109633386]