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.001362/0.001362, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001506/0.001506, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.374/1.374, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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 2.75/2.75, allocations: 377.9 MB / 0.6228 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] 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.002101/0.002101, allocations: 67.91 kB / 0.9819 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01447/1.027, allocations: 10.34 MB / 1.164 GB, free: 26.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01556/1.043, allocations: 8.501 MB / 1.172 GB, free: 21.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/1.045, allocations: 86.62 kB / 1.172 GB, free: 21.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005389/1.05, allocations: 1.669 MB / 1.174 GB, free: 20.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00643/1.057, allocations: 1.567 MB / 1.176 GB, free: 19.36 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/1.059, allocations: 0.676 MB / 1.176 GB, free: 19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004392/1.064, allocations: 2.283 MB / 1.178 GB, free: 17.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/1.066, allocations: 1.14 MB / 1.18 GB, free: 17.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/1.068, allocations: 1.182 MB / 1.181 GB, free: 16.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/1.07, allocations: 0.9327 MB / 1.182 GB, free: 16.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/1.07, allocations: 135.9 kB / 1.182 GB, free: 16.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/1.073, allocations: 0.7368 MB / 1.182 GB, free: 16.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007772/1.073, allocations: 0.5788 MB / 1.183 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.074, allocations: 0.7191 MB / 1.184 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004374/1.079, allocations: 2.575 MB / 1.186 GB, free: 14.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.079, allocations: 0 / 1.186 GB, free: 14.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.079, allocations: 3.938 kB / 1.186 GB, free: 14.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.125e-05/1.079, allocations: 1.469 kB / 1.186 GB, free: 14.71 MB / 1.076 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.00439/1.083, allocations: 1.977 MB / 1.188 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.083, allocations: 10.16 kB / 1.188 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/1.1, allocations: 2.059 MB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/1.104, allocations: 1.126 MB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-05/1.104, allocations: 88.84 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/1.105, allocations: 124.1 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00836/1.113, allocations: 2.695 MB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.693e-05/1.113, allocations: 13.36 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/1.113, allocations: 49.09 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005248/1.114, allocations: 128.8 kB / 1.194 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/1.125, allocations: 2.543 MB / 1.197 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/1.142, allocations: 7.465 MB / 1.204 GB, free: 5.992 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009158/1.151, allocations: 1.854 MB / 1.206 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004175/1.155, allocations: 0.9495 MB / 1.207 GB, free: 5.402 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/1.155, allocations: 13.83 kB / 1.207 GB, free: 5.395 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.155, allocations: 40.05 kB / 1.207 GB, free: 5.352 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 3.787e-06/1.155, allocations: 3.938 kB / 1.207 GB, free: 5.348 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.04715/1.202, allocations: 9.099 MB / 1.216 GB, free: 3.406 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/1.202, allocations: 61.02 kB / 1.216 GB, free: 3.344 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/1.204, allocations: 0.9615 MB / 1.217 GB, free: 2.945 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.204, allocations: 40.77 kB / 1.217 GB, free: 2.902 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006171/1.205, allocations: 0.7634 MB / 1.218 GB, free: 2.301 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/1.205, allocations: 298.6 kB / 1.218 GB, free: 2.066 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/1.206, allocations: 204.8 kB / 1.218 GB, free: 1.977 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/1.206, allocations: 347.2 kB / 1.218 GB, free: 1.652 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/1.21, allocations: 1.082 MB / 1.219 GB, free: 1.375 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0044/1.215, allocations: 1.32 MB / 1.221 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008618/1.223, allocations: 2.398 MB / 1.223 GB, free: 15.88 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.223, allocations: 7.344 kB / 1.223 GB, free: 15.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0133/1.237, allocations: 3.276 MB / 1.226 GB, free: 14.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/1.237, allocations: 8.047 kB / 1.226 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.237, allocations: 10.88 kB / 1.226 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004732/1.241, allocations: 0.8476 MB / 1.227 GB, free: 14.56 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/1.245, allocations: 414.6 kB / 1.228 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/1.268, allocations: 15.03 MB / 1.242 GB, free: 1.848 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/1.272, allocations: 302.7 kB / 1.242 GB, free: 1.703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.272, allocations: 49.81 kB / 1.243 GB, free: 1.688 MB / 1.092 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.001155/1.273, allocations: 401.7 kB / 1.243 GB, free: 1.398 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/1.274, allocations: 135.7 kB / 1.243 GB, free: 1.328 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.287, allocations: 3.207 MB / 1.246 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.287, allocations: 12 kB / 1.246 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/1.287, allocations: 7.656 kB / 1.246 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.287, allocations: 3.984 kB / 1.246 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/1.304, allocations: 4.529 MB / 1.251 GB, free: 12.78 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.304, allocations: 6.5 kB / 1.251 GB, free: 12.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.306, allocations: 352.1 kB / 1.251 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003854/1.31, allocations: 0.7623 MB / 1.252 GB, free: 12.22 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.31, allocations: 35.7 kB / 1.252 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02594/1.336, allocations: 14.64 MB / 1.266 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.336, allocations: 3.344 kB / 1.266 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/1.353, allocations: 3.048 MB / 1.269 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.355, allocations: 307.5 kB / 1.269 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005374/1.355, allocations: 22.77 kB / 1.269 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003872/1.359, allocations: 289.2 kB / 1.27 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004677/1.36, allocations: 80.61 kB / 1.27 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.36, allocations: 46.92 kB / 1.27 GB, free: 13.12 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001694/1.362, allocations: 0.6313 MB / 1.27 GB, free: 12.76 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.01e-07/1.362, allocations: 0 / 1.27 GB, free: 12.76 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003164/1.365, allocations: 439.5 kB / 1.271 GB, free: 12.73 MB / 1.123 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.0004325/1.365, allocations: 133.8 kB / 1.271 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0171/1.382, allocations: 3.552 MB / 1.274 GB, free: 10.33 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/1.382, allocations: 5.062 kB / 1.274 GB, free: 10.33 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.009338/1.392, allocations: 2.332 MB / 1.277 GB, free: 8.52 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/1.395, allocations: 478.4 kB / 1.277 GB, free: 8.07 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.405, allocations: 3.799 MB / 1.281 GB, free: 4.207 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009719/1.406, allocations: 0.8015 MB / 1.282 GB, free: 3.363 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001296/1.407, allocations: 358.6 kB / 1.282 GB, free: 3.008 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/1.407, allocations: 100.4 kB / 1.282 GB, free: 2.91 MB / 1.123 GB Notification: Performance of SimCode: time 5.51e-07/1.407, allocations: 4 kB / 1.282 GB, free: 2.906 MB / 1.123 GB Notification: Performance of Templates: time 0.05372/1.461, allocations: 31.4 MB / 1.313 GB, free: 4.156 MB / 1.154 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 -s ida -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: 9.91956471791491]