Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0008529/0.0008529, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007942/0.0007942, allocations: 181.9 kB / 23.22 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.8817/0.8817, 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.595/1.595, allocations: 359 MB / 0.6044 GB, free: 11.09 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.95e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00368/0.003709, allocations: 4.096 MB / 0.9557 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.006, allocations: 2.291 MB / 0.958 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.00619, allocations: 27.69 kB / 0.958 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006794/0.00687, allocations: 378.2 kB / 0.9584 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005255/0.007395, allocations: 397.7 kB / 0.9587 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.007814, allocations: 329.8 kB / 0.959 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.008426, allocations: 0.6983 MB / 0.9597 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.008748, allocations: 234 kB / 0.9599 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.00912, allocations: 363.1 kB / 0.9603 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.009378, allocations: 247.2 kB / 0.9605 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.009414, allocations: 32 kB / 0.9606 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.009787, allocations: 386.9 kB / 0.9609 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.009907, allocations: 155.5 kB / 0.9611 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.01002, allocations: 155.6 kB / 0.9612 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.01064, allocations: 0.7514 MB / 0.962 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01064, allocations: 0 / 0.962 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01064, allocations: 0 / 0.962 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.01065, allocations: 0 / 0.962 GB, free: 8.441 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007746/0.01143, allocations: 0.7304 MB / 0.9627 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.01147, allocations: 12.03 kB / 0.9627 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006955/0.01216, allocations: 184.4 kB / 0.9629 GB, free: 7.488 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.01257, allocations: 372.8 kB / 0.9632 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.01259, allocations: 33.36 kB / 0.9632 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.01263, allocations: 32.38 kB / 0.9633 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.01323, allocations: 0.7304 MB / 0.964 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.01325, allocations: 4.125 kB / 0.964 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.01328, allocations: 20.36 kB / 0.964 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/0.01333, allocations: 51.91 kB / 0.9641 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.01379, allocations: 0.4932 MB / 0.9645 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.01562, allocations: 3.121 MB / 0.9676 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.01651, allocations: 0.6092 MB / 0.9682 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.01666, allocations: 166.5 kB / 0.9683 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01668, allocations: 4 kB / 0.9684 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.01669, allocations: 38.5 kB / 0.9684 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.0167, allocations: 3.938 kB / 0.9684 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.001253/0.01795, allocations: 1.071 MB / 0.9694 GB, free: 432 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.01799, allocations: 110.8 kB / 0.9695 GB, free: 296 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.01824, allocations: 377.4 kB / 0.9699 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.01826, allocations: 33.7 kB / 0.9699 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.01838, allocations: 292 kB / 0.9702 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.01844, allocations: 119 kB / 0.9703 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.01853, allocations: 102.2 kB / 0.9704 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.01861, allocations: 350.8 kB / 0.9708 GB, free: 15 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.01878, allocations: 173.2 kB / 0.9709 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.01902, allocations: 377.8 kB / 0.9713 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.01948, allocations: 0.5952 MB / 0.9719 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01948, allocations: 3.938 kB / 0.9719 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006423/0.02012, allocations: 0.6749 MB / 0.9725 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.02014, allocations: 8 kB / 0.9725 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.02016, allocations: 8 kB / 0.9725 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.02036, allocations: 95.12 kB / 0.9726 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.02056, allocations: 111.8 kB / 0.9727 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.0225, allocations: 3.957 MB / 0.9766 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.02265, allocations: 31.97 kB / 0.9766 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.02267, allocations: 24 kB / 0.9767 GB, free: 8.445 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.02282, allocations: 197.8 kB / 0.9769 GB, free: 8.242 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.02288, allocations: 43.72 kB / 0.9769 GB, free: 8.199 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.02338, allocations: 0.5228 MB / 0.9774 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02339, allocations: 4 kB / 0.9774 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.02339, allocations: 0 / 0.9774 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.02339, allocations: 7.984 kB / 0.9774 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.02439, allocations: 1.151 MB / 0.9785 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02439, allocations: 8.062 kB / 0.9785 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.0245, allocations: 59.89 kB / 0.9786 GB, free: 6.359 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.02464, allocations: 94.44 kB / 0.9787 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.02466, allocations: 12 kB / 0.9787 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.02642, allocations: 3.95 MB / 0.9826 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.02642, allocations: 12.03 kB / 0.9826 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.02696, allocations: 0.7754 MB / 0.9833 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.02705, allocations: 67.69 kB / 0.9834 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.02707, allocations: 12 kB / 0.9834 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.02723, allocations: 19.97 kB / 0.9834 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.02728, allocations: 39.83 kB / 0.9835 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.02729, allocations: 15.98 kB / 0.9835 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001567/0.02745, allocations: 259.2 kB / 0.9837 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.02745, allocations: 0 / 0.9837 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003935/0.02784, allocations: 124 kB / 0.9838 GB, free: 0.6211 MB / 0.9323 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.191e-05/0.02793, allocations: 111.1 kB / 0.9839 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.02863, allocations: 0.7905 MB / 0.9847 GB, free: 15.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.02863, allocations: 0 / 0.9847 GB, free: 15.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.02897, allocations: 0.5359 MB / 0.9852 GB, free: 15.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.0295, allocations: 131.6 kB / 0.9854 GB, free: 14.97 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.0304, allocations: 0.9524 MB / 0.9863 GB, free: 13.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.03058, allocations: 272.2 kB / 0.9866 GB, free: 13.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.03065, allocations: 36.5 kB / 0.9866 GB, free: 13.62 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/0.03065, allocations: 0 / 0.9866 GB, free: 13.62 MB / 0.948 GB Notification: Performance of Templates: time 0.008298/0.03895, allocations: 11.2 MB / 0.9975 GB, free: 2.441 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: 7.264682522043586]