Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008545/0.0008545, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007866/0.0007866, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8882/0.8882, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.674/1.674, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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,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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.134e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008774/0.008805, allocations: 10.2 MB / 0.9617 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.009303/0.01811, allocations: 8.378 MB / 0.9699 GB, free: 336 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.01956, allocations: 91.12 kB / 0.97 GB, free: 244 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.02209, allocations: 1.676 MB / 0.9716 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004222/0.02631, allocations: 1.616 MB / 0.9732 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.02785, allocations: 0.6859 MB / 0.9738 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.03061, allocations: 2.36 MB / 0.9761 GB, free: 9.879 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.03211, allocations: 1.141 MB / 0.9773 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.03426, allocations: 1.535 MB / 0.9788 GB, free: 7.168 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.03532, allocations: 0.8373 MB / 0.9796 GB, free: 6.328 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.03551, allocations: 136 kB / 0.9797 GB, free: 6.195 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.03676, allocations: 0.7404 MB / 0.9804 GB, free: 5.453 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.03719, allocations: 0.6035 MB / 0.981 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005471/0.03774, allocations: 0.5922 MB / 0.9816 GB, free: 4.254 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.04036, allocations: 2.578 MB / 0.9841 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.04037, allocations: 4 kB / 0.9841 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.343e-06/0.04037, allocations: 0 / 0.9841 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.631e-05/0.04042, allocations: 3.938 kB / 0.9841 GB, free: 1.66 MB / 0.9323 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.002727/0.04315, allocations: 1.971 MB / 0.986 GB, free: 15.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.0432, allocations: 12.03 kB / 0.9861 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.04861, allocations: 2.051 MB / 0.9881 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.05047, allocations: 1.125 MB / 0.9892 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.05052, allocations: 86.69 kB / 0.9892 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.05071, allocations: 116.3 kB / 0.9893 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.05417, allocations: 2.697 MB / 0.992 GB, free: 9.312 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/0.05421, allocations: 11.88 kB / 0.992 GB, free: 9.301 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.05431, allocations: 55.98 kB / 0.992 GB, free: 9.246 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.05452, allocations: 126.1 kB / 0.9922 GB, free: 9.121 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.05836, allocations: 2.537 MB / 0.9946 GB, free: 6.574 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007958/0.06631, allocations: 7.483 MB / 1.002 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.06952, allocations: 1.842 MB / 1.004 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.07093, allocations: 0.9544 MB / 1.005 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.07097, allocations: 8.438 kB / 1.005 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.07101, allocations: 39.06 kB / 1.005 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=53): time 4.088e-06/0.07101, allocations: 0 / 1.005 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.01637/0.08738, allocations: 9.101 MB / 1.014 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.08742, allocations: 68.05 kB / 1.014 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/0.08838, allocations: 0.9593 MB / 1.015 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.08845, allocations: 41.7 kB / 1.015 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.08883, allocations: 0.758 MB / 1.015 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.08903, allocations: 289.5 kB / 1.016 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.08929, allocations: 198.5 kB / 1.016 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.08939, allocations: 345.9 kB / 1.016 GB, free: 232 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.09105, allocations: 1.091 MB / 1.017 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.09269, allocations: 1.313 MB / 1.019 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.09592, allocations: 2.405 MB / 1.021 GB, free: 11.22 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.09593, allocations: 0 / 1.021 GB, free: 11.22 MB / 0.9792 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004998/0.1009, allocations: 3.281 MB / 1.024 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.101, allocations: 8 kB / 1.024 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.101, allocations: 8 kB / 1.024 GB, free: 7.891 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.1026, allocations: 0.854 MB / 1.025 GB, free: 7.012 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009384/0.1036, allocations: 411.3 kB / 1.025 GB, free: 6.609 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.1141, allocations: 15 MB / 1.04 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.1155, allocations: 303.6 kB / 1.04 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/0.1156, allocations: 51.97 kB / 1.04 GB, free: 6.438 MB / 0.9948 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.0006968/0.1163, allocations: 401.4 kB / 1.041 GB, free: 6.035 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.1164, allocations: 139.2 kB / 1.041 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.1211, allocations: 3.197 MB / 1.044 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1211, allocations: 8 kB / 1.044 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.1211, allocations: 11.94 kB / 1.044 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1211, allocations: 3.984 kB / 1.044 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5656/0.6868, allocations: 4.516 MB / 1.048 GB, free: 129 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6868, allocations: 6.75 kB / 1.048 GB, free: 129 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.6875, allocations: 355.2 kB / 1.049 GB, free: 129 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.6889, allocations: 0.7688 MB / 1.049 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.689, allocations: 40.05 kB / 1.05 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00772/0.6967, allocations: 14.62 MB / 1.064 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6967, allocations: 7 kB / 1.064 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.701, allocations: 3.048 MB / 1.067 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.7016, allocations: 299.6 kB / 1.067 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/0.7016, allocations: 14.25 kB / 1.067 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000865/0.7025, allocations: 300.1 kB / 1.067 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.7028, allocations: 84.36 kB / 1.067 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.7028, allocations: 38.84 kB / 1.067 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005935/0.7034, allocations: 0.635 MB / 1.068 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.7034, allocations: 0 / 1.068 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001075/0.7045, allocations: 440.2 kB / 1.069 GB, free: 116.3 MB / 0.9948 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.000239/0.7047, allocations: 136.5 kB / 1.069 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004296/0.709, allocations: 3.542 MB / 1.072 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.709, allocations: 2.5 kB / 1.072 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.7114, allocations: 2.334 MB / 1.074 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.7129, allocations: 491 kB / 1.075 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.718, allocations: 3.86 MB / 1.079 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.7186, allocations: 0.8072 MB / 1.079 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.719, allocations: 119.9 kB / 1.08 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.953e-06/0.719, allocations: 0 / 1.08 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.06655/0.7856, allocations: 74.99 MB / 1.153 GB, free: 76.04 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.233553180471063]