Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001358/0.001358, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001476/0.001476, allocations: 181 kB / 23.36 MB, free: 1.133 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.013/1.013, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.388/2.388, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.412e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004279/0.004303, allocations: 4.092 MB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.006798, allocations: 1.551 MB / 0.8441 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.007075, allocations: 39.62 kB / 0.8442 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.007646, allocations: 166.8 kB / 0.8443 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005671/0.008213, allocations: 369.6 kB / 0.8447 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.008766, allocations: 327.2 kB / 0.845 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009033/0.009669, allocations: 0.9901 MB / 0.846 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.01011, allocations: 411.1 kB / 0.8464 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.01065, allocations: 0.5144 MB / 0.8469 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.01109, allocations: 363 kB / 0.8472 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.01115, allocations: 48 kB / 0.8473 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.0114, allocations: 143.7 kB / 0.8474 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.01158, allocations: 263.2 kB / 0.8476 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.01175, allocations: 231.4 kB / 0.8479 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.0123, allocations: 0.5916 MB / 0.8484 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.01231, allocations: 8 kB / 0.8484 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01231, allocations: 0 / 0.8484 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.01232, allocations: 0 / 0.8484 GB, free: 4.035 MB / 0.8073 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.000879/0.0132, allocations: 0.8374 MB / 0.8493 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01323, allocations: 8.625 kB / 0.8493 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007256/0.01396, allocations: 228.4 kB / 0.8495 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.01441, allocations: 443.2 kB / 0.8499 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.01444, allocations: 37.36 kB / 0.8499 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.003e-05/0.01453, allocations: 56.55 kB / 0.85 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.01502, allocations: 0.6965 MB / 0.8507 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.01504, allocations: 8.172 kB / 0.8507 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.01508, allocations: 36.05 kB / 0.8507 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-05/0.01517, allocations: 56.97 kB / 0.8508 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.01539, allocations: 202.5 kB / 0.851 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.01739, allocations: 3.027 MB / 0.8539 GB, free: 14.13 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.01757, allocations: 164.9 kB / 0.8541 GB, free: 13.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/0.01765, allocations: 73.95 kB / 0.8542 GB, free: 13.89 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.01767, allocations: 4.281 kB / 0.8542 GB, free: 13.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.0177, allocations: 34.84 kB / 0.8542 GB, free: 13.84 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 3.507e-06/0.0177, allocations: 0 / 0.8542 GB, free: 13.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=34): time 0.001749/0.01945, allocations: 0.9963 MB / 0.8552 GB, free: 12.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.01948, allocations: 63.39 kB / 0.8552 GB, free: 12.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.01975, allocations: 387 kB / 0.8556 GB, free: 12.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.01978, allocations: 37.69 kB / 0.8556 GB, free: 12.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.01992, allocations: 305.4 kB / 0.8559 GB, free: 11.99 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.01999, allocations: 134.8 kB / 0.8561 GB, free: 11.86 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.0201, allocations: 94.27 kB / 0.8561 GB, free: 11.76 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.02022, allocations: 366.6 kB / 0.8565 GB, free: 11.39 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.02029, allocations: 60.11 kB / 0.8565 GB, free: 11.34 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.02045, allocations: 231.2 kB / 0.8568 GB, free: 11.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.02074, allocations: 351.4 kB / 0.8571 GB, free: 10.62 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.02074, allocations: 0 / 0.8571 GB, free: 10.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004852/0.02122, allocations: 427.5 kB / 0.8575 GB, free: 10.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.02124, allocations: 8 kB / 0.8575 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.02125, allocations: 4 kB / 0.8575 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.02162, allocations: 151.2 kB / 0.8577 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.0219, allocations: 109.9 kB / 0.8578 GB, free: 9.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.02368, allocations: 2.642 MB / 0.8604 GB, free: 7.074 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.02385, allocations: 16 kB / 0.8604 GB, free: 7.059 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.02387, allocations: 16 kB / 0.8604 GB, free: 7.043 MB / 0.823 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.02402, allocations: 144.5 kB / 0.8605 GB, free: 6.891 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.02408, allocations: 43.98 kB / 0.8606 GB, free: 6.848 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.02451, allocations: 338.4 kB / 0.8609 GB, free: 6.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02451, allocations: 4 kB / 0.8609 GB, free: 6.496 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.02452, allocations: 4 kB / 0.8609 GB, free: 6.492 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.02452, allocations: 15.86 kB / 0.8609 GB, free: 6.477 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/0.02534, allocations: 0.6812 MB / 0.8616 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.02534, allocations: 0 / 0.8616 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.02553, allocations: 67.41 kB / 0.8616 GB, free: 5.684 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003212/0.02585, allocations: 151.4 kB / 0.8618 GB, free: 5.527 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.02587, allocations: 8 kB / 0.8618 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.02753, allocations: 2.636 MB / 0.8644 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.02753, allocations: 4 kB / 0.8644 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.02811, allocations: 0.5272 MB / 0.8649 GB, free: 2.113 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.02822, allocations: 63.64 kB / 0.8649 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.02826, allocations: 8 kB / 0.865 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.02838, allocations: 8 kB / 0.865 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.02845, allocations: 31.89 kB / 0.865 GB, free: 2.004 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.02847, allocations: 8 kB / 0.865 GB, free: 1.996 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001384/0.02861, allocations: 164.7 kB / 0.8652 GB, free: 1.836 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.02861, allocations: 4.031 kB / 0.8652 GB, free: 1.832 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004708/0.02908, allocations: 152 kB / 0.8653 GB, free: 1.684 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.02922, allocations: 88.36 kB / 0.8654 GB, free: 1.59 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.0298, allocations: 0.5117 MB / 0.8659 GB, free: 1.051 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.02981, allocations: 12 kB / 0.8659 GB, free: 1.039 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.0301, allocations: 399 kB / 0.8663 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.03065, allocations: 163.5 kB / 0.8664 GB, free: 472 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.03212, allocations: 1.049 MB / 0.8675 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.03224, allocations: 178.3 kB / 0.8676 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.03241, allocations: 56.66 kB / 0.8677 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.03266, allocations: 177.2 kB / 0.8679 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of SimCode: time 1.072e-06/0.03266, allocations: 0 / 0.8679 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of Templates: time 0.01128/0.04395, allocations: 8.58 MB / 0.8762 GB, free: 6.543 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.416185447014868]