Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0009476/0.0009476, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009474/0.0009474, allocations: 181 kB / 24.09 MB, free: 420 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.8948/0.8948, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.791/1.791, allocations: 377.9 MB / 0.624 GB, free: 8.41 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.279e-05, allocations: 2.312 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003434/0.003447, allocations: 4.069 MB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.005554, allocations: 1.533 MB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.005801, allocations: 39.62 kB / 0.8175 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.006268, allocations: 190.6 kB / 0.8177 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.006816, allocations: 414.3 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.007367, allocations: 361 kB / 0.8184 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008904/0.008257, allocations: 1.139 MB / 0.8195 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.008782, allocations: 0.5061 MB / 0.82 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.009397, allocations: 0.6142 MB / 0.8206 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.009877, allocations: 442.8 kB / 0.8211 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.009945, allocations: 56 kB / 0.8211 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.01017, allocations: 140.4 kB / 0.8212 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.01034, allocations: 303.1 kB / 0.8215 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.01052, allocations: 268.1 kB / 0.8218 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.01104, allocations: 0.6656 MB / 0.8224 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.01104, allocations: 1.312 kB / 0.8224 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.82e-07/0.01104, allocations: 0 / 0.8224 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.01105, allocations: 0 / 0.8224 GB, free: 6.766 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0008198/0.01187, allocations: 1.054 MB / 0.8235 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.01189, allocations: 12.69 kB / 0.8235 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006485/0.01254, allocations: 287.7 kB / 0.8238 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.01304, allocations: 0.5126 MB / 0.8243 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.01307, allocations: 49.67 kB / 0.8243 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.01312, allocations: 64.36 kB / 0.8244 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.01371, allocations: 0.8505 MB / 0.8252 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.01373, allocations: 8.141 kB / 0.8252 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.01376, allocations: 36.34 kB / 0.8252 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/0.01382, allocations: 65.22 kB / 0.8253 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.0141, allocations: 288.7 kB / 0.8256 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.01671, allocations: 5.517 MB / 0.831 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.017, allocations: 227.8 kB / 0.8312 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.01728, allocations: 221.9 kB / 0.8314 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.01731, allocations: 12.44 kB / 0.8314 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01733, allocations: 37.95 kB / 0.8314 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 1.413e-06/0.01733, allocations: 4 kB / 0.8314 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.001578/0.01891, allocations: 0.9713 MB / 0.8324 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.01893, allocations: 55.41 kB / 0.8324 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.01916, allocations: 458.3 kB / 0.8329 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.01918, allocations: 33.7 kB / 0.8329 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.01936, allocations: 454.6 kB / 0.8334 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.01944, allocations: 162.7 kB / 0.8335 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01954, allocations: 119.9 kB / 0.8336 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01968, allocations: 0.539 MB / 0.8341 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.01977, allocations: 77.25 kB / 0.8342 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.01998, allocations: 384.7 kB / 0.8346 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.02032, allocations: 0.5102 MB / 0.8351 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.02032, allocations: 4 kB / 0.8351 GB, free: 9.043 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006915/0.02101, allocations: 0.6597 MB / 0.8357 GB, free: 8.359 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.02103, allocations: 8 kB / 0.8357 GB, free: 8.352 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.02104, allocations: 8 kB / 0.8357 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004973/0.02153, allocations: 254.5 kB / 0.836 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.02168, allocations: 91.83 kB / 0.8361 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.02511, allocations: 7.575 MB / 0.8435 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.02525, allocations: 16 kB / 0.8435 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.02528, allocations: 20 kB / 0.8435 GB, free: 15.92 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.02541, allocations: 192.4 kB / 0.8437 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.02547, allocations: 79.56 kB / 0.8438 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.02624, allocations: 0.5128 MB / 0.8443 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.02625, allocations: 4 kB / 0.8443 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.02625, allocations: 4 kB / 0.8443 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.02625, allocations: 7.984 kB / 0.8443 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.02756, allocations: 0.9932 MB / 0.8453 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.02757, allocations: 4 kB / 0.8453 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.02766, allocations: 31.92 kB / 0.8453 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.02826, allocations: 250.9 kB / 0.8455 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.02828, allocations: 12 kB / 0.8455 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004083/0.03237, allocations: 7.563 MB / 0.8529 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.03237, allocations: 11.92 kB / 0.8529 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.03322, allocations: 0.6875 MB / 0.8536 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.03335, allocations: 91.48 kB / 0.8537 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.03339, allocations: 8 kB / 0.8537 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.03355, allocations: 12 kB / 0.8537 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/0.03365, allocations: 39.92 kB / 0.8538 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.03367, allocations: 8 kB / 0.8538 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001783/0.03385, allocations: 278.7 kB / 0.854 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.03385, allocations: 0 / 0.854 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005919/0.03444, allocations: 200 kB / 0.8542 GB, free: 4.309 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.03455, allocations: 115.2 kB / 0.8543 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009957/0.03554, allocations: 1.121 MB / 0.8554 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03554, allocations: 0 / 0.8554 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.03631, allocations: 0.934 MB / 0.8563 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.03702, allocations: 199.4 kB / 0.8565 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.03852, allocations: 1.152 MB / 0.8577 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.03876, allocations: 202.2 kB / 0.8578 GB, free: 376 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000173/0.03893, allocations: 65.03 kB / 0.8579 GB, free: 308 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.03919, allocations: 198.1 kB / 0.8581 GB, free: 108 kB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.03919, allocations: 4 kB / 0.8581 GB, free: 104 kB / 0.8073 GB Notification: Performance of Templates: time 0.01541/0.0546, allocations: 11.08 MB / 0.8689 GB, free: 5.219 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.1033595209009945]