Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001522/0.001522, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001937/0.001937, allocations: 216.3 kB / 23.01 MB, free: 4.609 MB / 14.72 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.49 GB / 0.7958 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 72.64 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01422/0.3919, allocations: 11.33 MB / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.4066, allocations: 9.153 MB / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.4083, allocations: 87.25 kB / 1.347 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.4131, allocations: 1.743 MB / 1.349 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.4185, allocations: 1.576 MB / 1.35 GB, free: 9.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.4208, allocations: 0.6821 MB / 1.351 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003847/0.4247, allocations: 2.273 MB / 1.353 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.4266, allocations: 1.168 MB / 1.354 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.4289, allocations: 1.18 MB / 1.356 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.4305, allocations: 0.9921 MB / 1.357 GB, free: 3.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.4307, allocations: 140 kB / 1.357 GB, free: 3.027 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.4324, allocations: 0.8188 MB / 1.358 GB, free: 2.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.433, allocations: 0.5724 MB / 1.358 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.434, allocations: 0.8783 MB / 1.359 GB, free: 0.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.4374, allocations: 2.561 MB / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4374, allocations: 0 / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4374, allocations: 0 / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.4374, allocations: 0 / 1.361 GB, free: 14.18 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003443/0.4408, allocations: 1.988 MB / 1.363 GB, free: 12.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4409, allocations: 12.03 kB / 1.363 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.4512, allocations: 2.063 MB / 1.365 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.4541, allocations: 1.114 MB / 1.366 GB, free: 8.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.4542, allocations: 94.69 kB / 1.367 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.4544, allocations: 120.1 kB / 1.367 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.4599, allocations: 2.438 MB / 1.369 GB, free: 6.125 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.4599, allocations: 11.89 kB / 1.369 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.4601, allocations: 51.98 kB / 1.369 GB, free: 6.062 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003459/0.4604, allocations: 126.1 kB / 1.369 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006911/0.4673, allocations: 2.549 MB / 1.372 GB, free: 3.379 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.4817, allocations: 9.969 MB / 1.381 GB, free: 8.766 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00568/0.4873, allocations: 1.85 MB / 1.383 GB, free: 6.902 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/0.49, allocations: 0.9503 MB / 1.384 GB, free: 5.945 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.49, allocations: 4.438 kB / 1.384 GB, free: 5.941 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.4901, allocations: 43 kB / 1.384 GB, free: 5.891 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.856e-06/0.4901, allocations: 0 / 1.384 GB, free: 5.891 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03149/0.5215, allocations: 9.129 MB / 1.393 GB, free: 12.71 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.5216, allocations: 60.06 kB / 1.393 GB, free: 12.64 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.5234, allocations: 1.105 MB / 1.394 GB, free: 11.52 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.5236, allocations: 37.7 kB / 1.394 GB, free: 11.48 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007714/0.5243, allocations: 0.7512 MB / 1.395 GB, free: 10.72 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.5247, allocations: 297.5 kB / 1.395 GB, free: 10.43 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.5251, allocations: 202.5 kB / 1.396 GB, free: 10.23 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5253, allocations: 345.9 kB / 1.396 GB, free: 9.883 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/0.5282, allocations: 1.083 MB / 1.397 GB, free: 8.797 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.5312, allocations: 1.321 MB / 1.398 GB, free: 7.383 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005926/0.5371, allocations: 2.39 MB / 1.401 GB, free: 4.898 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.5371, allocations: 4 kB / 1.401 GB, free: 4.895 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009084/0.5462, allocations: 3.288 MB / 1.404 GB, free: 1.566 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.5463, allocations: 8.875 kB / 1.404 GB, free: 1.559 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.5463, allocations: 8 kB / 1.404 GB, free: 1.551 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003322/0.5496, allocations: 0.8574 MB / 1.405 GB, free: 0.668 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.5517, allocations: 411.2 kB / 1.405 GB, free: 272 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.5695, allocations: 15.34 MB / 1.42 GB, free: 12 kB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.5719, allocations: 299.6 kB / 1.42 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.572, allocations: 51.97 kB / 1.42 GB, free: 15.67 MB / 1.123 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008495/0.5728, allocations: 397.4 kB / 1.421 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.5731, allocations: 151.1 kB / 1.421 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/0.5816, allocations: 3.218 MB / 1.424 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5816, allocations: 11.94 kB / 1.424 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.5816, allocations: 8 kB / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.5816, allocations: 7.984 kB / 1.424 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.5933, allocations: 4.904 MB / 1.429 GB, free: 6.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5933, allocations: 7.938 kB / 1.429 GB, free: 6.809 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.5949, allocations: 355.7 kB / 1.429 GB, free: 6.461 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/0.5976, allocations: 0.772 MB / 1.43 GB, free: 5.664 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/0.5977, allocations: 27.97 kB / 1.43 GB, free: 5.637 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.6142, allocations: 14.96 MB / 1.445 GB, free: 5.758 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6142, allocations: 0 / 1.445 GB, free: 5.758 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008433/0.6227, allocations: 3.064 MB / 1.448 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.6237, allocations: 310.9 kB / 1.448 GB, free: 2.305 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.6239, allocations: 19.94 kB / 1.448 GB, free: 2.285 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.6257, allocations: 303.4 kB / 1.448 GB, free: 1.988 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.626, allocations: 76.45 kB / 1.448 GB, free: 1.914 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.6261, allocations: 47.95 kB / 1.448 GB, free: 1.867 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001133/0.6272, allocations: 0.7366 MB / 1.449 GB, free: 1.129 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.6272, allocations: 0 / 1.449 GB, free: 1.129 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00164/0.6289, allocations: 440 kB / 1.449 GB, free: 0.6992 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002932/0.6292, allocations: 139 kB / 1.45 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008826/0.638, allocations: 3.547 MB / 1.453 GB, free: 12.91 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.638, allocations: 4 kB / 1.453 GB, free: 12.91 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005167/0.6432, allocations: 2.328 MB / 1.455 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.6457, allocations: 0.5286 MB / 1.456 GB, free: 9.969 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/0.6552, allocations: 3.908 MB / 1.46 GB, free: 5.992 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.6566, allocations: 1.388 MB / 1.461 GB, free: 4.57 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.6572, allocations: 123.3 kB / 1.461 GB, free: 4.449 MB / 1.154 GB Notification: Performance of SimCode: time 1.312e-06/0.6572, allocations: 0 / 1.461 GB, free: 4.449 MB / 1.154 GB Notification: Performance of Templates: time 0.09071/0.7479, allocations: 75.29 MB / 1.535 GB, free: 9.238 MB / 1.233 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 19.50181117199827]