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.001776/0.001776, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002279/0.002279, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.438/1.438, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.986/2.986, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.342e-06/1.342e-06, allocations: 0 / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.559e-05, allocations: 3.375 kB / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008414/0.008439, allocations: 5.212 MB / 0.8159 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005472/0.01391, allocations: 2.587 MB / 0.8184 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.01449, allocations: 33.22 kB / 0.8185 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.01675, allocations: 0.683 MB / 0.8191 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.018, allocations: 436.6 kB / 0.8195 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.01917, allocations: 404.6 kB / 0.8199 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.02088, allocations: 0.9824 MB / 0.8209 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008373/0.02172, allocations: 381.1 kB / 0.8212 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.02287, allocations: 0.5143 MB / 0.8217 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008332/0.0237, allocations: 363 kB / 0.8221 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.02385, allocations: 48 kB / 0.8221 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000896/0.02475, allocations: 339 kB / 0.8225 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.02516, allocations: 259.8 kB / 0.8227 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.02572, allocations: 243.4 kB / 0.8229 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.02763, allocations: 1.001 MB / 0.8239 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.02764, allocations: 0 / 0.8239 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/0.02764, allocations: 0.5312 kB / 0.8239 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.562e-05/0.02768, allocations: 1.656 kB / 0.8239 GB, free: 3.492 MB / 0.7292 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.002706/0.03038, allocations: 0.9063 MB / 0.8248 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.03044, allocations: 12.81 kB / 0.8248 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.03221, allocations: 292.4 kB / 0.8251 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.03329, allocations: 478.8 kB / 0.8256 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.03334, allocations: 33.38 kB / 0.8256 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.03356, allocations: 64.5 kB / 0.8257 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.03519, allocations: 0.9751 MB / 0.8266 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.03522, allocations: 9.578 kB / 0.8266 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.03529, allocations: 28.12 kB / 0.8266 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.03551, allocations: 64.94 kB / 0.8267 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.0366, allocations: 0.5787 MB / 0.8273 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.04159, allocations: 3.501 MB / 0.8307 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.04214, allocations: 279.3 kB / 0.831 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.04261, allocations: 205.3 kB / 0.8311 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.04264, allocations: 16.22 kB / 0.8312 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.0427, allocations: 42.77 kB / 0.8312 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.0427, allocations: 0 / 0.8312 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.006516/0.04921, allocations: 2.391 MB / 0.8335 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.04927, allocations: 55.41 kB / 0.8336 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.04983, allocations: 429.7 kB / 0.834 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.04987, allocations: 29.7 kB / 0.834 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.05018, allocations: 352.4 kB / 0.8344 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.05035, allocations: 150.7 kB / 0.8345 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.05055, allocations: 110.3 kB / 0.8346 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.05077, allocations: 362.7 kB / 0.835 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.05119, allocations: 245.2 kB / 0.8352 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.05179, allocations: 408.4 kB / 0.8356 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.05288, allocations: 0.6818 MB / 0.8362 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.05289, allocations: 0 / 0.8362 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002015/0.0549, allocations: 0.9405 MB / 0.8372 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.05493, allocations: 8.656 kB / 0.8372 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.05494, allocations: 8 kB / 0.8372 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.05635, allocations: 290.3 kB / 0.8375 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.05685, allocations: 115.8 kB / 0.8376 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/0.06334, allocations: 4.986 MB / 0.8424 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.06383, allocations: 31.97 kB / 0.8425 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.0639, allocations: 23.94 kB / 0.8425 GB, free: 15.61 MB / 0.7605 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.0003826/0.06428, allocations: 225.6 kB / 0.8427 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.06444, allocations: 67.67 kB / 0.8428 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.06625, allocations: 0.7731 MB / 0.8435 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.06626, allocations: 4 kB / 0.8435 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.06626, allocations: 0 / 0.8435 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.06627, allocations: 3.984 kB / 0.8435 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.06915, allocations: 1.33 MB / 0.8448 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.06915, allocations: 7.938 kB / 0.8448 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.06951, allocations: 67.88 kB / 0.8449 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.07075, allocations: 282.8 kB / 0.8452 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.07079, allocations: 12 kB / 0.8452 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00604/0.07683, allocations: 4.911 MB / 0.85 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.07683, allocations: 4.031 kB / 0.85 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.07902, allocations: 1.135 MB / 0.8511 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.07931, allocations: 91.66 kB / 0.8512 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.774e-05/0.07941, allocations: 15.94 kB / 0.8512 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.07977, allocations: 32.08 kB / 0.8512 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.07989, allocations: 35.88 kB / 0.8513 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.07993, allocations: 16 kB / 0.8513 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003962/0.08032, allocations: 283.1 kB / 0.8515 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.08032, allocations: 0 / 0.8515 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007918/0.08111, allocations: 172 kB / 0.8517 GB, free: 5.711 MB / 0.7605 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.0002861/0.0814, allocations: 119.1 kB / 0.8518 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.0833, allocations: 0.9737 MB / 0.8528 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.08331, allocations: 0 / 0.8528 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.08444, allocations: 0.6794 MB / 0.8534 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.08538, allocations: 175.8 kB / 0.8536 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.08786, allocations: 1.226 MB / 0.8548 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.08833, allocations: 346 kB / 0.8551 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003483/0.08868, allocations: 112.8 kB / 0.8552 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.0888, allocations: 32.5 kB / 0.8553 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/0.0888, allocations: 0 / 0.8553 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of Templates: time 0.01929/0.1081, allocations: 9.158 MB / 0.8642 GB, free: 8.969 MB / 0.7761 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.142651760950685]