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.0009695/0.0009695, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001001/0.001001, allocations: 165 kB / 23.82 MB, free: 0.7422 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.03/1.03, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.87/1.87, allocations: 377.8 MB / 0.6236 GB, free: 8.512 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.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",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.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.288e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004198/0.004221, allocations: 4.109 MB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.006198, allocations: 1.511 MB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.006403, allocations: 31.69 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.006897, allocations: 178.7 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.007363, allocations: 365.5 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.00777, allocations: 324.7 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000673/0.008443, allocations: 0.996 MB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.008848, allocations: 374.5 kB / 0.8192 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.009317, allocations: 0.5105 MB / 0.8197 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.009687, allocations: 368.3 kB / 0.8201 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.009742, allocations: 48 kB / 0.8201 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.009918, allocations: 135.8 kB / 0.8202 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.01017, allocations: 263.2 kB / 0.8205 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.01035, allocations: 240.7 kB / 0.8207 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.01084, allocations: 0.5955 MB / 0.8213 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01085, allocations: 0 / 0.8213 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.01085, allocations: 0.5312 kB / 0.8213 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.01085, allocations: 0 / 0.8213 GB, free: 7.699 MB / 0.7761 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.0009486/0.0118, allocations: 0.992 MB / 0.8223 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.01184, allocations: 8.562 kB / 0.8223 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.01267, allocations: 289.3 kB / 0.8226 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.01318, allocations: 485 kB / 0.823 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.01321, allocations: 41.36 kB / 0.8231 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.01332, allocations: 56.56 kB / 0.8231 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.01398, allocations: 0.7874 MB / 0.8239 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.01399, allocations: 4.125 kB / 0.8239 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.01403, allocations: 24.12 kB / 0.8239 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.01415, allocations: 72.28 kB / 0.824 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.01453, allocations: 269.5 kB / 0.8242 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.01702, allocations: 4.416 MB / 0.8285 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.01725, allocations: 151.4 kB / 0.8287 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.01737, allocations: 96.2 kB / 0.8288 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.0174, allocations: 12.22 kB / 0.8288 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.01742, allocations: 37.67 kB / 0.8288 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.01742, allocations: 0 / 0.8288 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.00263/0.02005, allocations: 1.552 MB / 0.8303 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.02009, allocations: 56.34 kB / 0.8304 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.02038, allocations: 458.4 kB / 0.8308 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.02041, allocations: 34.77 kB / 0.8309 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.02058, allocations: 403 kB / 0.8313 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.02066, allocations: 154.7 kB / 0.8314 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.02078, allocations: 112 kB / 0.8315 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.02092, allocations: 0.5391 MB / 0.832 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.02107, allocations: 97.25 kB / 0.8321 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.02133, allocations: 347.3 kB / 0.8325 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.02173, allocations: 482.2 kB / 0.8329 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.02173, allocations: 0 / 0.8329 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007966/0.02253, allocations: 0.6332 MB / 0.8335 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02255, allocations: 8 kB / 0.8335 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.02255, allocations: 8.031 kB / 0.8336 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/0.02312, allocations: 230.8 kB / 0.8338 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.0234, allocations: 115.8 kB / 0.8339 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.0262, allocations: 5.644 MB / 0.8394 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.02639, allocations: 27.97 kB / 0.8394 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.02641, allocations: 27.94 kB / 0.8394 GB, free: 4.035 MB / 0.7917 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.0001319/0.02655, allocations: 188.4 kB / 0.8396 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.02661, allocations: 75.67 kB / 0.8397 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006625/0.02727, allocations: 0.4885 MB / 0.8402 GB, free: 3.254 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02728, allocations: 4 kB / 0.8402 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.02728, allocations: 3.938 kB / 0.8402 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.02728, allocations: 8 kB / 0.8402 GB, free: 3.238 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.02852, allocations: 1.061 MB / 0.8412 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.02852, allocations: 7.984 kB / 0.8412 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.0287, allocations: 59.95 kB / 0.8413 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/0.0292, allocations: 214.9 kB / 0.8415 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.02923, allocations: 8 kB / 0.8415 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.03184, allocations: 5.655 MB / 0.847 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.03184, allocations: 4 kB / 0.847 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.03262, allocations: 0.7497 MB / 0.8478 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.03273, allocations: 87.62 kB / 0.8478 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.03276, allocations: 11.94 kB / 0.8479 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.03292, allocations: 23.97 kB / 0.8479 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.03298, allocations: 39.94 kB / 0.8479 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.033, allocations: 8 kB / 0.8479 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002763/0.03327, allocations: 295 kB / 0.8482 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.03327, allocations: 0 / 0.8482 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000404/0.03368, allocations: 172 kB / 0.8484 GB, free: 10.33 MB / 0.8073 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.0001235/0.0338, allocations: 111.2 kB / 0.8485 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008359/0.03464, allocations: 0.9288 MB / 0.8494 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03464, allocations: 0 / 0.8494 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.03512, allocations: 0.7354 MB / 0.8501 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.03563, allocations: 171.6 kB / 0.8503 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.03706, allocations: 1.148 MB / 0.8514 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.03717, allocations: 178.5 kB / 0.8516 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.03734, allocations: 96.73 kB / 0.8517 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.03741, allocations: 36.5 kB / 0.8517 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.03741, allocations: 0 / 0.8517 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of Templates: time 0.01049/0.0479, allocations: 9.179 MB / 0.8606 GB, free: 13.77 MB / 0.823 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361179073806852]