Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001773/0.001773, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.001872/0.001872, allocations: 161.3 kB / 23.54 MB, free: 0.8594 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.634/1.634, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.713/2.713, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.854e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01756/0.0176, allocations: 6.412 MB / 0.7926 GB, free: 5.277 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.02811, allocations: 2.991 MB / 0.7956 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.02921, allocations: 39.62 kB / 0.7956 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004722/0.03393, allocations: 0.957 MB / 0.7965 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.03679, allocations: 0.5279 MB / 0.797 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.03897, allocations: 433.3 kB / 0.7975 GB, free: 352 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.04135, allocations: 1.253 MB / 0.7987 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.04254, allocations: 0.5372 MB / 0.7992 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.0441, allocations: 0.6624 MB / 0.7998 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.04517, allocations: 475.6 kB / 0.8003 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.0454, allocations: 68 kB / 0.8004 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/0.0464, allocations: 347.9 kB / 0.8007 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.04691, allocations: 331 kB / 0.801 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006757/0.04759, allocations: 316.4 kB / 0.8013 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.04968, allocations: 1.25 MB / 0.8025 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.04968, allocations: 0 / 0.8025 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/0.04968, allocations: 0.8438 kB / 0.8025 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.162e-05/0.04974, allocations: 0 / 0.8025 GB, free: 11.12 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002772/0.05251, allocations: 1.093 MB / 0.8036 GB, free: 10 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.05256, allocations: 16.02 kB / 0.8036 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.05436, allocations: 346.1 kB / 0.8039 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.05544, allocations: 0.5499 MB / 0.8045 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/0.05549, allocations: 49.67 kB / 0.8045 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.05562, allocations: 72.34 kB / 0.8046 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.05762, allocations: 1.336 MB / 0.8059 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.05764, allocations: 192 / 0.8059 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.05773, allocations: 34.11 kB / 0.8059 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.05792, allocations: 89.19 kB / 0.806 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.05925, allocations: 0.7512 MB / 0.8068 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/0.06519, allocations: 4.521 MB / 0.8112 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.06628, allocations: 0.5099 MB / 0.8117 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.06674, allocations: 286.2 kB / 0.8119 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.06678, allocations: 12.5 kB / 0.812 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.06683, allocations: 43 kB / 0.812 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.086e-06/0.06684, allocations: 0 / 0.812 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.004154/0.07099, allocations: 1.697 MB / 0.8137 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.07104, allocations: 55.91 kB / 0.8137 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.07171, allocations: 0.5066 MB / 0.8142 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.07175, allocations: 37.7 kB / 0.8142 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.07212, allocations: 431.8 kB / 0.8147 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.07229, allocations: 166.5 kB / 0.8148 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.07251, allocations: 126.6 kB / 0.8149 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.07273, allocations: 370.8 kB / 0.8153 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.07318, allocations: 273.8 kB / 0.8155 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.0739, allocations: 0.4891 MB / 0.816 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.0751, allocations: 0.8086 MB / 0.8168 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0751, allocations: 4 kB / 0.8168 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002025/0.07713, allocations: 1.105 MB / 0.8179 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.07715, allocations: 8.875 kB / 0.8179 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.07717, allocations: 8 kB / 0.8179 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/0.07874, allocations: 379 kB / 0.8183 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.07924, allocations: 135.7 kB / 0.8184 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008/0.08724, allocations: 6.602 MB / 0.8248 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.08788, allocations: 39.97 kB / 0.8249 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.08797, allocations: 27.94 kB / 0.8249 GB, free: 3.121 MB / 0.7292 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0004513/0.08842, allocations: 253.5 kB / 0.8252 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.08862, allocations: 87.58 kB / 0.8252 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.09047, allocations: 0.8779 MB / 0.8261 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.09048, allocations: 4 kB / 0.8261 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.09049, allocations: 4 kB / 0.8261 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.0905, allocations: 3.984 kB / 0.8261 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.09352, allocations: 1.525 MB / 0.8276 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.09353, allocations: 4 kB / 0.8276 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.09382, allocations: 55.89 kB / 0.8277 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.09531, allocations: 371.2 kB / 0.828 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.09535, allocations: 12.06 kB / 0.828 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00788/0.1032, allocations: 6.598 MB / 0.8345 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1032, allocations: 0 / 0.8345 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.1051, allocations: 0.9856 MB / 0.8354 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.1055, allocations: 115.5 kB / 0.8355 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.1056, allocations: 8 kB / 0.8355 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.106, allocations: 27.97 kB / 0.8356 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.1061, allocations: 51.78 kB / 0.8356 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.1062, allocations: 16 kB / 0.8356 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00051/0.1067, allocations: 338.9 kB / 0.836 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1067, allocations: 0 / 0.836 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009509/0.1076, allocations: 228 kB / 0.8362 GB, free: 7.02 MB / 0.7448 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001919/0.1078, allocations: 115.1 kB / 0.8363 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.1102, allocations: 1.242 MB / 0.8375 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.1102, allocations: 0 / 0.8375 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.1116, allocations: 0.8657 MB / 0.8383 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.1127, allocations: 194.1 kB / 0.8385 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.1154, allocations: 1.362 MB / 0.8399 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.116, allocations: 411.3 kB / 0.8403 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004021/0.1164, allocations: 125.4 kB / 0.8404 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1165, allocations: 40.5 kB / 0.8404 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of SimCode: time 1.392e-06/0.1165, allocations: 0 / 0.8404 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of Templates: time 0.02211/0.1387, allocations: 11.34 MB / 0.8515 GB, free: 7.41 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.423862574039958]