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.001119/0.001119, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001574/0.001574, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9677/0.9677, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.018/2.018, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.914e-06/1.914e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.932e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004333/0.004363, allocations: 4.056 MB / 0.8834 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.006946, allocations: 1.495 MB / 0.8848 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.007354, allocations: 31.69 kB / 0.8848 GB, free: 432 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.008097, allocations: 176.2 kB / 0.885 GB, free: 256 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007206/0.008818, allocations: 375.3 kB / 0.8854 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.009454, allocations: 323.2 kB / 0.8857 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009674/0.01042, allocations: 0.9863 MB / 0.8866 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.01092, allocations: 378.5 kB / 0.887 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.01154, allocations: 0.526 MB / 0.8875 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.01202, allocations: 379 kB / 0.8879 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.01207, allocations: 48 kB / 0.8879 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.01231, allocations: 131.8 kB / 0.888 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.01248, allocations: 263.2 kB / 0.8883 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.01266, allocations: 239.3 kB / 0.8885 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.0132, allocations: 0.5878 MB / 0.8891 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01321, allocations: 0 / 0.8891 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01321, allocations: 0 / 0.8891 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.01322, allocations: 4 kB / 0.8891 GB, free: 12.04 MB / 0.8542 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.0009058/0.01412, allocations: 0.9816 MB / 0.8901 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.01416, allocations: 8.031 kB / 0.8901 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/0.01485, allocations: 248 kB / 0.8903 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.01533, allocations: 456.7 kB / 0.8907 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01535, allocations: 37.36 kB / 0.8908 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.01546, allocations: 60.53 kB / 0.8908 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.01601, allocations: 0.744 MB / 0.8916 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.01603, allocations: 16.06 kB / 0.8916 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.01607, allocations: 28.12 kB / 0.8916 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.01617, allocations: 64.95 kB / 0.8917 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.01642, allocations: 218.5 kB / 0.8919 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.01878, allocations: 4.302 MB / 0.8961 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.01896, allocations: 128.4 kB / 0.8962 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.672e-05/0.01905, allocations: 80.2 kB / 0.8963 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.01907, allocations: 8.281 kB / 0.8963 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.0191, allocations: 41.61 kB / 0.8963 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.0191, allocations: 0 / 0.8963 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.002261/0.02136, allocations: 1.36 MB / 0.8977 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.02139, allocations: 59.41 kB / 0.8977 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.02164, allocations: 450.2 kB / 0.8981 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.02166, allocations: 33.7 kB / 0.8982 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.02184, allocations: 411 kB / 0.8986 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.02192, allocations: 150.7 kB / 0.8987 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.02203, allocations: 115.9 kB / 0.8988 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.02216, allocations: 0.5351 MB / 0.8993 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.02225, allocations: 81.25 kB / 0.8994 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.02246, allocations: 327.2 kB / 0.8997 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.02278, allocations: 438.1 kB / 0.9001 GB, free: 12 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02278, allocations: 3.938 kB / 0.9001 GB, free: 8 kB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007068/0.02349, allocations: 0.5745 MB / 0.9007 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.02351, allocations: 8 kB / 0.9007 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.02352, allocations: 4 kB / 0.9007 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.02409, allocations: 235 kB / 0.9009 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.02432, allocations: 103.8 kB / 0.901 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.02716, allocations: 5.551 MB / 0.9065 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.02738, allocations: 16 kB / 0.9065 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.0274, allocations: 16 kB / 0.9065 GB, free: 9.137 MB / 0.8698 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.000177/0.02758, allocations: 200.3 kB / 0.9067 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.02766, allocations: 67.61 kB / 0.9068 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.02828, allocations: 464.2 kB / 0.9072 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02828, allocations: 4 kB / 0.9072 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.02828, allocations: 0 / 0.9072 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.02829, allocations: 3.984 kB / 0.9072 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.02939, allocations: 0.9286 MB / 0.9081 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.02939, allocations: 0 / 0.9081 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.02955, allocations: 55.97 kB / 0.9082 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.03006, allocations: 211 kB / 0.9084 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.03008, allocations: 15.98 kB / 0.9084 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.03266, allocations: 5.555 MB / 0.9138 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.03266, allocations: 0 / 0.9138 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/0.03338, allocations: 0.6949 MB / 0.9145 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.03351, allocations: 87.61 kB / 0.9146 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.03354, allocations: 8.062 kB / 0.9146 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.03369, allocations: 16 kB / 0.9146 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.03376, allocations: 35.94 kB / 0.9146 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.03378, allocations: 8 kB / 0.9146 GB, free: 288 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001426/0.03392, allocations: 282.9 kB / 0.9149 GB, free: 4 kB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.03392, allocations: 3.938 kB / 0.9149 GB, free: 0 / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005175/0.03444, allocations: 168 kB / 0.9151 GB, free: 15.83 MB / 0.8855 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.0001365/0.03457, allocations: 115.2 kB / 0.9152 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007683/0.03534, allocations: 0.8764 MB / 0.916 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03534, allocations: 0 / 0.916 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.03579, allocations: 0.7179 MB / 0.9167 GB, free: 14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.03632, allocations: 175.4 kB / 0.9169 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.03777, allocations: 1.14 MB / 0.918 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.0379, allocations: 178.5 kB / 0.9182 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.03809, allocations: 68.8 kB / 0.9182 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.03832, allocations: 214.1 kB / 0.9185 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of SimCode: time 1.041e-06/0.03832, allocations: 0 / 0.9185 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of Templates: time 0.0127/0.05102, allocations: 9.965 MB / 0.9282 GB, free: 2.41 MB / 0.8855 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 -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.476673245895654]