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.001332/0.001332, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001472/0.001472, allocations: 212.6 kB / 23 MB, free: 4.934 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 66.64 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3712, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008266/0.3794, allocations: 5.279 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005529/0.385, allocations: 2.615 MB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008288/0.3858, allocations: 35.62 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.388, allocations: 0.6769 MB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.3894, allocations: 421.8 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3907, allocations: 402.5 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.3923, allocations: 0.9477 MB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008051/0.3931, allocations: 386.5 kB / 1.338 GB, free: 6.273 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008419/0.3939, allocations: 398.5 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008641/0.3948, allocations: 426.4 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3949, allocations: 48 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007693/0.3957, allocations: 327.3 kB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.396, allocations: 255.2 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.3965, allocations: 294.6 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.3978, allocations: 0.9728 MB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3978, allocations: 4 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3978, allocations: 4 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.3979, allocations: 0 / 1.34 GB, free: 3.574 MB / 1.029 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.001749/0.3996, allocations: 0.9131 MB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3997, allocations: 8.031 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.4011, allocations: 200.3 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008793/0.4019, allocations: 455.6 kB / 1.342 GB, free: 1.957 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.402, allocations: 37.36 kB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.4021, allocations: 60.48 kB / 1.342 GB, free: 1.863 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4035, allocations: 0.9785 MB / 1.343 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.4035, allocations: 11.89 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.4036, allocations: 27.98 kB / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.4038, allocations: 60.95 kB / 1.343 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/0.4047, allocations: 0.5735 MB / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.4089, allocations: 3.492 MB / 1.347 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.4094, allocations: 279.2 kB / 1.347 GB, free: 12.19 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.4097, allocations: 213.3 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.4097, allocations: 4.281 kB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.4098, allocations: 38.84 kB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/0.4098, allocations: 0 / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005539/0.4153, allocations: 2.334 MB / 1.35 GB, free: 9.539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.4154, allocations: 55.41 kB / 1.35 GB, free: 9.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.4158, allocations: 429.7 kB / 1.35 GB, free: 9.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.4159, allocations: 33.7 kB / 1.35 GB, free: 9.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.4161, allocations: 356.4 kB / 1.35 GB, free: 8.652 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.4163, allocations: 154.7 kB / 1.351 GB, free: 8.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.4164, allocations: 106.3 kB / 1.351 GB, free: 8.391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4166, allocations: 362.7 kB / 1.351 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.417, allocations: 229.2 kB / 1.351 GB, free: 7.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.4175, allocations: 411.3 kB / 1.352 GB, free: 7.324 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.4184, allocations: 0.6779 MB / 1.352 GB, free: 6.574 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4184, allocations: 4 kB / 1.352 GB, free: 6.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001727/0.4202, allocations: 0.9099 MB / 1.353 GB, free: 5.645 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4202, allocations: 8 kB / 1.353 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4202, allocations: 8 kB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/0.421, allocations: 218.5 kB / 1.353 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.4215, allocations: 119.8 kB / 1.354 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005433/0.427, allocations: 4.946 MB / 1.358 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.4274, allocations: 31.97 kB / 1.358 GB, free: 0 / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.4275, allocations: 20.12 kB / 1.358 GB, free: 15.98 MB / 1.061 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.0003567/0.4278, allocations: 230.1 kB / 1.359 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.4279, allocations: 59.73 kB / 1.359 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.4295, allocations: 0.75 MB / 1.359 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4295, allocations: 0 / 1.359 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4295, allocations: 0 / 1.359 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.4297, allocations: 99.5 kB / 1.36 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.4298, allocations: 12 kB / 1.36 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.4301, allocations: 19.97 kB / 1.36 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.4302, allocations: 39.91 kB / 1.36 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001987/0.4322, allocations: 0.8657 MB / 1.36 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001236/0.4334, allocations: 0.9448 MB / 1.361 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003426/0.4337, allocations: 240.1 kB / 1.362 GB, free: 12.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003043/0.434, allocations: 275.1 kB / 1.362 GB, free: 12.41 MB / 1.061 GB Notification: Performance of Backend: time 2.51e-07/0.434, allocations: 0 / 1.362 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.4362, allocations: 1.041 MB / 1.363 GB, free: 11.32 MB / 1.061 GB Notification: Performance of SimCode: time 0.00249/0.4387, allocations: 1.787 MB / 1.365 GB, free: 9.496 MB / 1.061 GB Notification: Performance of Templates: time 0.0207/0.4594, allocations: 12.37 MB / 1.377 GB, free: 13.34 MB / 1.076 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/jenkins1/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: 9.463364508999803]